← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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