← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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