← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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