← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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