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