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