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