← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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