← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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