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