← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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