Class 5 Computer Worksheet: Block Coding
Remember (Times × amount): Event = when something happens; motion = move or turn; sound = play a sound; if = check a condition. A loop repeats the blocks inside it: total = times × amount. repeat N times [move, turn 360 ÷ N degrees] draws a shape with N sides.
NameDateTime takenScore ___ / 40
- 1.🧱 A sprite draws a shape: repeat 10 times [ move 50 steps, turn 36 degrees ]. How many sides does the shape have?
- 2.🧱 What kind of block is “when sprite is clicked”? (a) a motion block (b) an if block (c) an event block (d) a loop block
- 3.🔁 Which block repeats steps again and again? (a) an event block (b) a motion block (c) a loop block (d) a sound block
- 4.🧱 In block coding, we join blocks like ___. (a) wet clay (b) ice cubes (c) sand (d) jigsaw puzzle pieces
- 5.🧱 What kind of block is “repeat 4 times”? (a) an event block (b) an if block (c) a loop block (d) a sound block
- 6.Which of these is an if block? (a) if the key is down (b) when sprite is clicked (c) repeat 4 times (d) play a beep
- 7.🔍 Which is the odd one out? (a) when sprite is clicked (b) when the program starts (c) play a beep (d) when a key is pressed
- 8.🧱 A sprite runs: repeat 10 times [ move 10 steps ]. How many steps does it move in all?
- 9.🧱 A sprite runs: repeat 3 times [ move 30 steps ]. How many steps does it move in all?
- 10.🧱 A sprite runs: repeat 6 times [ move 30 steps ]. How many steps does it move in all?
- 11.🧱 What kind of block is “when a key is pressed”? (a) a motion block (b) an event block (c) a sound block (d) a loop block
- 12.Which of these is an event block? (a) when the program starts (b) repeat forever (c) if the key is down (d) turn right 90 degrees
- 13.🧱 A sprite draws a shape: repeat 3 times [ move 50 steps, turn 120 degrees ]. How many sides does the shape have?
- 14.🔍 Which is the odd one out? (a) repeat until done (b) move 10 steps (c) repeat forever (d) repeat 4 times
- 15.Which of these is a motion block? (a) repeat forever (b) glide to the edge (c) repeat 4 times (d) repeat until done
- 16.Which of these is an event block? (a) repeat until done (b) if score is 10 (c) play a beep (d) when sprite is clicked
- 17.🧱 What kind of block is “if score is 10”? (a) an if block (b) a loop block (c) an event block (d) a sound block
- 18.Which of these is a loop block? (a) if the key is down (b) repeat until done (c) turn right 90 degrees (d) when a key is pressed
- 19.🐱 What do we call a character that moves on the stage in block coding? (a) a cursor (b) a pixel (c) a folder (d) a sprite
- 20.🔍 Which is the odd one out? (a) when a key is pressed (b) if the key is down (c) when the program starts (d) when sprite is clicked
- 21.🧱 What kind of block is “move 10 steps”? (a) an if block (b) a sound block (c) a loop block (d) a motion block
- 22.Which of these is a motion block? (a) move 10 steps (b) when a key is pressed (c) play a drum beat (d) when the program starts
- 23.Which of these is a sound block? (a) when a key is pressed (b) when sprite is clicked (c) play a drum beat (d) repeat forever
- 24.🧱 A sprite draws a shape: repeat 5 times [ move 50 steps, turn 72 degrees ]. How many sides does the shape have?
- 25.🧱 What kind of block is “if the key is down”? (a) an if block (b) an event block (c) a sound block (d) a loop block
- 26.🧱 A sprite runs: repeat 4 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
- 27.🔍 Which is the odd one out? (a) if touching the wall (b) set volume to 50% (c) if score is 10 (d) if the key is down
- 28.Which of these is a motion block? (a) play a beep (b) turn right 90 degrees (c) when a key is pressed (d) repeat forever
- 29.🧱 A sprite runs: repeat 2 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
- 30.🧱 A sprite runs: repeat 9 times [ move 40 steps ]. How many steps does it move in all?
- 31.Which of these is a loop block? (a) repeat forever (b) move 10 steps (c) if touching the wall (d) when the program starts
- 32.🔍 Which is the odd one out? (a) when a key is pressed (b) repeat forever (c) repeat until done (d) repeat 4 times
- 33.🧱 A sprite draws a shape: repeat 4 times [ move 50 steps, turn 90 degrees ]. How many sides does the shape have?
- 34.🧱 What kind of block is “repeat until done”? (a) an event block (b) an if block (c) a sound block (d) a loop block
- 35.🔍 Which is the odd one out? (a) play a drum beat (b) glide to the edge (c) move 10 steps (d) turn right 90 degrees
- 36.🧱 What kind of block is “repeat forever”? (a) an if block (b) a loop block (c) an event block (d) a motion block
- 37.🧱 What kind of block is “turn right 90 degrees”? (a) a motion block (b) a loop block (c) a sound block (d) an event block
- 38.🧱 A sprite runs: repeat 3 times [ move 20 steps ]. How many steps does it move in all?
- 39.🔍 Which is the odd one out? (a) if the key is down (b) if score is 10 (c) if touching the wall (d) repeat until done
- 40.🧱 What kind of block is “if touching the wall”? (a) an if block (b) an event block (c) a sound block (d) a loop block
Answer key
- 10
- an event block
- a loop block
- jigsaw puzzle pieces
- a loop block
- if the key is down
- play a beep
- 100
- 90
- 180
- an event block
- when the program starts
- 3
- move 10 steps
- glide to the edge
- when sprite is clicked
- an if block
- repeat until done
- a sprite
- if the key is down
- a motion block
- move 10 steps
- play a drum beat
- 5
- an if block
- 20
- set volume to 50%
- turn right 90 degrees
- 10
- 360
- repeat forever
- when a key is pressed
- 4
- a loop block
- play a drum beat
- a loop block
- a motion block
- 60
- repeat until done
- an if block
Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets