← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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