← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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