← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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