← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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