← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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