← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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