← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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