← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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