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