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