← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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