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