← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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