← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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