← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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