← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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