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