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