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