← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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