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