← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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