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