← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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