← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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