← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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