← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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