← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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