← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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