← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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