← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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