← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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