← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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