← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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