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