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