← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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