← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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