← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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