← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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