← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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