← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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