← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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