← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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