← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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