← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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