← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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