← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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