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