← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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