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