← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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