← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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