← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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