← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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