← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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