← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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