← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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