← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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