← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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