← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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