← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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