← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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