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