← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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