← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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