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