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