← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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