← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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