← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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