← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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