← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

Computer lesson 27: Block coding basics · Set 746 · 40 questions
TalentJR

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

Answer key

  1. when a key is pressed
  2. a sound block
  3. an if block
  4. a loop block
  5. a sound block
  6. when the program starts
  7. an event block
  8. if touching the wall
  9. if score is 10
  10. a motion block
  11. 12
  12. when sprite is clicked
  13. repeat until done
  14. a loop block
  15. repeat until done
  16. jigsaw puzzle pieces
  17. a sprite
  18. play a drum beat
  19. a motion block
  20. set volume to 50%
  21. move 10 steps
  22. repeat 4 times
  23. glide to the edge
  24. 50
  25. an event block
  26. when a key is pressed
  27. play a drum beat
  28. repeat forever
  29. repeat 4 times
  30. 4
  31. when the program starts
  32. 20
  33. 5
  34. turn right 90 degrees
  35. move 10 steps
  36. 50
  37. 16
  38. a loop block
  39. a loop block
  40. 270

Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets