← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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