← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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