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