← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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