← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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