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