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