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