Professional Documents
Culture Documents
© 2021 - Whitehat Education Technology Private Limited. Please Don'T Share, Download or Copy This File Without Permission
© 2021 - Whitehat Education Technology Private Limited. Please Don'T Share, Download or Copy This File Without Permission
Note: This document is the original copyright of WhiteHat Education Technology Private Limited.
Please don't share, download or copy this file without permission.
1
Topic COMPUTER PROGRAM
Class PRO-T
● Student Resources
○ Laptop with internet connectivity
○ Earphones with mic
○ Notebook and pen
○ Internet Speed: Download Speed >20Mbps
● Etiquettes
○ Have a clean and clear background
○ Always keep your camera on
○ Sufficient Lighting on your face(light should be
facing your face and not your back)
○ Keep your phone on silent(Refer How To Ace
Trial Class Section for more details)
CONTEXT
● Make a connection with the student.
● Interpret a program as a set of instructions issued to a computer to do a
particular task.
● Understand how instructions issued to a computer are different from
instructions issued to a human.
<Student Name> Please tell me about which grade are you The student shares about
in and which areas interest you? himself/herself, about
his/her interests, etc.
Wait for their response.
Ask the student to invite the parent to join the class. In The student invites the
case the Parent is not present, or if they are busy, ask parent to join the class.
them to join in the last 10 minutes if possible.
Explore all the reasons why the student wants to learn to The students shares his/her
code. Some things the student might talk about are reasons.
robotics, creating games, writing software and apps, and
so on.
Can you tell me some real life examples where robots can ESR: Varied.
be used to help humans?
I am a human. Give me instructions to drink water from this ESR: Drink water from this
bottle. bottle.
Encourage the student to decode the difference between The student tries to tell the
instructions given to humans vs instructions given to difference between
robots. instructions given to
humans vs instructions
A: A robot needed more precise/exact instructions to given to robots.
complete a task. A human could understand us without the
exact instructions.
Did you see how you struggled to give exact instructions ESR: Yes.
to the robot?
Now, to understand the third point, can you tell me if ESR: Yes/No.
computers can understand English?
Encourage the student to share any computer languages The student might mention
they might know or use. JAVA, HTML, JavaScript,
Python, etc.
Yes, a “satellite”.
If the Ad type displayed = Roblox, then check whether the student has installed
Roblox already.
If installed then do the Roblox Activity below, else carry on with the rest of
showcase and coding activities.
ACTIVITY
● Introduction to code.org platform.
● Understand how to write a program to display the rectangular shape.
● Learn by experiment how to change dimensions and move the shape.
Note: Below is the image of the full version of the Breakout game with more features like
scores and lives which students will learn to create in the upcoming classes.(This image
is only shown for teacher reference.)
Can you name what are the different components of this ESR:
simple game? ● There are colorful
bricks at the top
The teacher should show/tell about the functionalities of which are moving
the game which do not get covered in the student downwards.
response. ● There is a ball which
is bouncing around.
Use the following text to help you fill the gaps. ● Once the ball hits the
bricks at the top, the
If you look at the game, there are many things in it. There brick hit by the ball
are bricks and there is one paddle controlled by the vanishes.
mouse, there is a ball which is moving, and the ball is ● There scores earned
bouncing off the walls, there are sounds....so many things! every time the ball hit
the brick.
● There is a player
paddle that moves
whenever we move
the mouse.
Text format:
Note: Click on the “Show Blocks” if you are in Text format mode to see the Block
format of the same code, or “Show Text” if you are in the Block format mode.
Superb!
Great!
We have a rectangle on the screen.
But we want a rectangle of different sizes for the bricks, the ESR: Yes.
ball and the paddle, right?
ESR: We can change the
How do we do that? numbers inside the
rectangle instruction.
Perfect!
You can experiment, try things out, see the result and find
the right answers on your own.
Take input from the student on what the 1st number could
be to shift the box.
The teacher runs the code with the first number reduced.
What do you think the 1st number stands for? ESR: To position the
rectangle left or right in the
horizontal direction.
Change the 2nd number similar to the first number ESR: The second number
● Reduce it first and run the program. can be used to move the
● Increase it and run the program. rectangle up and down.
● Ask the student to verify if their guess was correct.
The teacher repeats the above steps with the 3rd and 4th The student gives inputs on
numbers. what numbers she/he would
like to test for the third and
Make sure to revert the 3rd number before changing fourth numbers.
the 4th number to show the difference.
Amazing!
● Ask the student to press the ESC key to come back to the panel.
● Guide the student to start Screen Share.
● The teacher gets into Full screen.
ACTIVITY
● Draw and position the bricks, player paddle and the ball.
● Animate the player paddle so that it moves along with the mouse.
Let them adjust the width and height of the paddle first and
then position them.
Can you tell me which position of the player paddle, x or y, ESR: We should change x
should be changed to move it continuously with the mouse position.
in the horizontal direction?
What do you think will happen if we run the code? ESR:The paddle will move
with the mouse.
What’s happening when you are moving your mouse? ESR: When we move the
mouse, multiple lines are
Encourage the student to think and come up with a few drawn.
possibilities.
Okay. Nice!
But this is not what’s happening. Keep trying!
Let’s try to figure it out by moving the mouse very slowly.
What’s happening when you move the mouse very slowly? ESR: One rectangle moves
and keeps drawing multiple
lines.
Yes. Great!
The paddle is moving with the mouse, but the old
rectangles are still on the screen. Every time you move, a
new rectangle is drawn at the new position of the mouse
over the older rectangles.
ESR: Varied.
Why do you think this is happening?
Can you try to think, why this would have happened? ESR: Varied.
1. rect()
2. rect()
3. rect()
4. background()
Here the program draws the 1st rectangle with the first
rect() instruction and 2nd rectangle with the second rect()
instruction and so on. After that, background() instructions
turn the background to black at the end. And this is
happening repeatedly. So we don’t get to see any
rectangles anytime, as these are painted by the black
every time the computer draws them.
So, where do you think we should write our background() ESR: We should write it
instruction? before all the rect()
instructions.
Superb!
Wow! Amazing!
Please ask them if they can join us for some time? THE STUDENT INVITES
THE PARENT.
Call the parents, introduce yourself, and celebrate the kid’s accomplishment.
Teacher- “Hi, I feel proud to say that today, <child’s name> coded his/her first game.
<Child’s name>, please show the game you created today.”
● Appreciate and compliment the student for trying and making strong
progress to learn to code.
● Get to know how they liked the session.
● Review and check their understanding.
● Challenge the student to make the ball move in the game on their own after
the class. Do not share any code or help the student. Just keep encouraging
the student with statements like: What do you think we can do to move the
ball / make it bounce etc.?” ; “Seems like a good idea. Let's see what
happens when you do this.”
Please click on the Start Slideshow button on the panel. Curriculum Overview
INVITE THE PARENT TO
SEE.
1. Game Development
2. App Development
3. Space Tech + Artificial Intelligence
Slide 15 Script
Slide 16 Script
● Thank you for your time today. You can watch our
YouTube Channel(Whitehat Jr) to learn more about
us.
FEEDBACK
● Appreciate student’s efforts in the class.
● Ask the student to make notes for the reflection journal along with the code
they wrote in today's class.
We are just getting started on this exciting journey of Make sure you have given
coding. I am eagerly looking to teach you more in the next at least 2 hats-off during the
class. class for:
Thank you for your time today. Kindly stay on the panel
and do not close this page when I end the class--our entire
curriculum along with the details will be displayed on the
panel.
Teacher Clicks
ADDITIONAL ACTIVITIES
Additional Activity 1:
Wait for the response from the student and then let the
student experiment.
Additional Activity 2:
Teacher Activity 10 Final Reference Code Final Reference Code With Additional Activity
With Additional Activity
Abbreviations/
Sr. no. Technical terms Explanation
It refers to giving human intelligence to machines, which enable them in
1 AI (Artificial Intelligence) learning and problem-solving.
Machine learning is an application of artificial intelligence (AI) that
provides systems the ability to automatically learn and improve from
2 ML (Machine learning) experience without being explicitly programmed.
A Uniform Resource Locator (URL). A URL incorporates the domain
name, along with other detailed information, to create a complete
address (or “web address”) to direct a browser to a specific page online
3 URL called a web page.
The domain name is a component of a uniform resource locator (URL)
used to access websites, for example:
URL: http://www.example.net/index.html.
Top-level domain: net.
4 Domain name Second-level domain: example.
A process or set of rules to be followed in calculations or other
problem-solving operations, especially by a computer. You can also
5 Algorithm consider algorithms as a step-by-step process to solve a problem
A programming language based on JS and HTML which is used to
6 React Native create mobile applications
It is used to keep a track of all the students' progress. Which segregates
7 Student's Report Card as Proficiency, Logic, Creativity, and Concentration
These are revision classes placed after some classes such as C8, which
has the intention to revise all the concepts which have been taught in
8 Capstone Classes previous classes
This is a competition between the students at whitehat, which has the
challenge to create an app or game which can enable them to solve a
real-life problem. The best out of them are selected and given a tour of
NASA (virtually) and get a chance to showcase their app/games to
9 Silicon Valley Program various entrepreneurs
10 Canvas It can be considered as the output viewing box of the editor.