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