← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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