← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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