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