← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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