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