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