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