← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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