← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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