← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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