← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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