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