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