← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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