← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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