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