← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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