← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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