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