← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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