← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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