← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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