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