← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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