← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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