← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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