← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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