← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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