← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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