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