← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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