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