← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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