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