← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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