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.Which of these is a loop block? (a) play a beep (b) repeat until done (c) if touching the wall (d) move 10 steps
- 2.🧱 A sprite runs: repeat 10 times [ move 15 steps ]. How many steps does it move in all?
- 3.🔍 Which is the odd one out? (a) repeat forever (b) repeat 4 times (c) if score is 10 (d) repeat until done
- 4.🧱 What kind of block is “if score is 10”? (a) an if block (b) a motion block (c) a loop block (d) an event block
- 5.🧱 A sprite runs: repeat 6 times [ move 30 steps ]. How many steps does it move in all?
- 6.🔍 Which is the odd one out? (a) if touching the wall (b) if score is 10 (c) if the key is down (d) when the program starts
- 7.🔍 Which is the odd one out? (a) play a beep (b) play a drum beat (c) set volume to 50% (d) turn right 90 degrees
- 8.Which of these is an event block? (a) if score is 10 (b) play a drum beat (c) when a key is pressed (d) if the key is down
- 9.🧱 What kind of block is “turn right 90 degrees”? (a) a sound block (b) an if block (c) a loop block (d) a motion block
- 10.🔍 Which is the odd one out? (a) repeat forever (b) move 10 steps (c) repeat until done (d) repeat 4 times
- 11.🐱 What do we call a character that moves on the stage in block coding? (a) a pixel (b) a sprite (c) a cursor (d) a folder
- 12.🔁 Which block repeats steps again and again? (a) a sound block (b) a loop block (c) an event block (d) a motion block
- 13.🧱 What kind of block is “set volume to 50%”? (a) a loop block (b) a sound block (c) an if block (d) a motion block
- 14.Which of these is a motion block? (a) when a key is pressed (b) play a drum beat (c) when sprite is clicked (d) turn right 90 degrees
- 15.🔍 Which is the odd one out? (a) play a drum beat (b) set volume to 50% (c) repeat forever (d) play a beep
- 16.🧱 A sprite runs: repeat 2 times [ move 50 steps ]. How many steps does it move in all?
- 17.Which of these is a loop block? (a) repeat forever (b) play a drum beat (c) if touching the wall (d) when the program starts
- 18.🧱 What kind of block is “move 10 steps”? (a) an if block (b) a loop block (c) a motion block (d) a sound block
- 19.Which of these is an if block? (a) play a drum beat (b) repeat until done (c) if the key is down (d) when the program starts
- 20.🧱 A sprite draws a shape: repeat 9 times [ move 50 steps, turn 40 degrees ]. How many sides does the shape have?
- 21.🧱 What kind of block is “repeat forever”? (a) an event block (b) an if block (c) a loop block (d) a motion block
- 22.🧱 What kind of block is “repeat until done”? (a) an if block (b) a sound block (c) an event block (d) a loop block
- 23.🧱 What kind of block is “repeat 4 times”? (a) a motion block (b) an event block (c) a sound block (d) a loop block
- 24.🧱 A sprite runs: repeat 4 times [ move 5 steps ]. How many steps does it move in all?
- 25.🧱 A sprite runs: repeat 5 times [ move 15 steps ]. How many steps does it move in all?
- 26.🧱 A sprite draws a shape: repeat 12 times [ move 50 steps, turn 30 degrees ]. How many sides does the shape have?
- 27.🧱 A sprite runs: repeat 7 times [ move 30 steps ]. How many steps does it move in all?
- 28.🧱 A sprite runs: repeat 2 times [ repeat 3 times [ play a drum beat ] ]. How many drum beats are played?
- 29.🧱 A sprite runs: repeat 9 times [ move 25 steps ]. How many steps does it move in all?
- 30.🧱 A sprite runs: repeat 3 times [ move 15 steps ]. How many steps does it move in all?
- 31.Which of these is a sound block? (a) if touching the wall (b) turn right 90 degrees (c) set volume to 50% (d) repeat until done
- 32.🧱 What kind of block is “if the key is down”? (a) a motion block (b) an if block (c) a sound block (d) an event block
- 33.🧱 A sprite draws a shape: repeat 6 times [ move 50 steps, turn 60 degrees ]. How many sides does the shape have?
- 34.Which of these is an if block? (a) play a drum beat (b) if score is 10 (c) repeat 4 times (d) turn right 90 degrees
- 35.🧱 A sprite runs: repeat 5 times [ repeat 4 times [ play a drum beat ] ]. How many drum beats are played?
- 36.🧱 A sprite runs: repeat 6 times [ move 35 steps ]. How many steps does it move in all?
- 37.🧱 In block coding, we join blocks like ___. (a) ice cubes (b) sand (c) jigsaw puzzle pieces (d) wet clay
- 38.🔍 Which is the odd one out? (a) repeat until done (b) play a beep (c) set volume to 50% (d) play a drum beat
- 39.🧱 A sprite runs: repeat 2 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
- 40.🧱 A sprite runs: repeat 4 times [ repeat 4 times [ play a drum beat ] ]. How many drum beats are played?
Answer key
- repeat until done
- 150
- if score is 10
- an if block
- 180
- when the program starts
- turn right 90 degrees
- when a key is pressed
- a motion block
- move 10 steps
- a sprite
- a loop block
- a sound block
- turn right 90 degrees
- repeat forever
- 100
- repeat forever
- a motion block
- if the key is down
- 9
- a loop block
- a loop block
- a loop block
- 20
- 75
- 12
- 210
- 6
- 225
- 45
- set volume to 50%
- an if block
- 6
- if score is 10
- 20
- 210
- jigsaw puzzle pieces
- repeat until done
- 4
- 16
Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets