← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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