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