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