← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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