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