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