← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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