Chapter 1: Comprehension Questions

  1. Explain in your own words, what is meant by “an action should be declarative, feasible, and self-explanatory”.
  2. Create pseudocode for your procedures for getting ready for school. Make sure to indent any control statements.
  3. Write your pseudocode from question 2 as an abstraction.
  4. Encapsulate your pseudocode from question 2.
  5. Explain the difference between refinement and encapsulation. Explain the importance of both in coding.
  6. Explain the difference between a problem and an algorithm. Think of another real-world example, not from the textbook, to show the difference between a problem and an algorithm.
  7. In your own words, explain why abstraction is important.