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