← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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