← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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