← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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