← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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