← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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