← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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