← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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