← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

  1. a sprite
  2. if touching the wall
  3. when sprite is clicked
  4. if touching the wall
  5. 6
  6. 315
  7. when a key is pressed
  8. play a beep
  9. 20
  10. a motion block
  11. 240
  12. when the program starts
  13. a sound block
  14. a loop block
  15. turn right 90 degrees
  16. if the key is down
  17. repeat until done
  18. 8
  19. a loop block
  20. repeat forever
  21. a sound block
  22. 135
  23. 3
  24. an if block
  25. a motion block
  26. repeat 4 times
  27. jigsaw puzzle pieces
  28. repeat forever
  29. play a drum beat
  30. a loop block
  31. move 10 steps
  32. play a beep
  33. a motion block
  34. 9
  35. 300
  36. repeat until done
  37. when the program starts
  38. 100
  39. 4
  40. if the key is down

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