← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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