← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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