← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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