← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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