← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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