← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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