← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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