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