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