← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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