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