← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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