← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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