← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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