← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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