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