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