← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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