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