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