← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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