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