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