← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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