← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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