← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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