Manual for Shape Calculator
Manual for Shape Calculator
Before revealing the answer ask learners to either hold up their drawing or to call out their
guesses. Try to take their responses.
Then reveal the answer – how many guessed it correctly?
Ask learners the questions below
• Why didn’t you guess the answer?
• Why was everybody’s response different?
C
• Computers can also help you draw
shapes if you gave them instructions
clearly
• Computers work by following lists of
instructions, and they do exactly
what the instructions say—even if
they don’t make sense!
C
More Activities on Instructions to
Shapes and vice-versa
a. Read out instructions to help learners
inorder for them to draw an image and
vice-versa
They are to follow your instructions exactly;
Do not reveal the image or the shape until the instructions have finished. Use this
pattern to go through the image, each time revealing the image only when the
instructions have all been called out. At the end of each image, ask learners to ‘hold
up’ their drawing for everyone to see. Each time have a quick discussion on the
variation in what pupils produce.
C
Activity 2
Ask learners to list out the instructions needed to
draw a rectangle (make them brainstorm in groups)
(ask them to read out their instructions. As long as their idea makes sense
you can approve. The idea is for them think critically by being precise)
Css
Activity 3
How easy was it for them to write out the instruction to draw a circle?
C
Activity 3
Ask learners to list out instruction to draw a triangle
How easy was it for them to write out the instruction to draw a circle?
C
We need to be more
precise for the computer to
draw our shapes correctly
The Computer’s Turn!
C
Refresh the memory of learners
about the scratch interface
C
The screen where you can
see what happens when The SCRIPT BANK is where
you play your game is called the types of instructions
the STAGE. are stored.
The SPRITES are where you The SCRIPT BLOCKS are SCRIPTS AREA is where you
store and select the STAGE where the instructions of put your instructions.
and COSTUMES. what your SPRITES can do!
Guess which Library I am in
C
Add the Pen Tool
One of the most exciting additions in
Scratch 3 is its new extension platform.
Among them, the pen tool is quite unique.
As the name suggests, an extension is a
plug-in that extends the functionality of
Scratch that allows you to do exciting
things than normal Scratch cant do.
C
With the Pen extension, coding to draw a shape is deceptively simple with some
basic knowledge of geometry. Furthermore, amazingly complex patterns can be
constructed with just a few colorful blocks of computer code. (Those who hate Math,
Do not panic yet!, this is pretty simple and straightforward). With the pen tool, the
possibilities are immense and incredibly exciting. With your imagination coupled
with your creativity, the patterns you can come up with is simply enormous.
C
Launch the Pen Tool
C
ACTIVITY 1: Draw a Straight Line
To initiate the program, click on the Events from the block
palette and drag and drop the following code block to the
script area.
Note that there are other blocks you can use to initiate
the program such as:
Add the following code blocks (The
purpose of each is labeled)
Now, you need to add one more block as part of the initialization. That’s the following
code block to ensure every time when you start drawing, the sprite is turned towards
the right in 90 degrees.
Now, your code blocks should look like the below:
Now, add the block to move the pen for
150 steps.
(Home Work)
• Write out an instruction each that
will help someone in drawing a;
1. Square
2. Rectangle
C
VISIT 2
Short Activity
Ask learners to briefly write the
instructions needed that will help
someone else draw the shapes in
the following slides
Some learners may
automatically see the
repetitive nature of this image
and build that into their
instructions naturally. If they
don’t then it is worth raising
this in your discussions with
them when the results are
displayed. For example, asking
them how the image could
have been drawn with less
instructions.
The images after this all have a
repetitive nature to them, try
to guide the learners into
identifying this. You will be
able to draw on this later.
C
C
Refining our Instruction
Computers work by following lists of instructions,
and they do exactly what the instructions say—
even if they don’t make sense!
Triangle Circle
Number of sides 3 Number of sides 360
Length of sides 90 Length of sides 1
Required angles 120 Required angles 1
degrees degrees
Ask learners to open scratch and find each one as it comes
up. Who can find it first? Who can find it first and accurately
guess what the instruction does?
Ask which two libraries were not used?
Activity 1: Create a Square
Ask learners to spot the changes. Ask them to describe it one member in each group
Activity: Modify the program
2 + 3 = 5
value a + value b = value c
Creating a calculator
2 3
5
Creating a calculator
Variable in
Scratch
What is a Variable?
Creating a calculator
1. Angle
2. Number of sides
3. Length of side
Try out your solution