Problem 1
In your own words, describe what is meant by code being "correct."
Problem 3
Provide an example of a domain class, a design class, and an implementation class that might be used in the implementation of a bank ATM application. Explain why you chose each class.
Problem 4
Specify the intent, preconditions, and postconditions of a function that computes the square root of an input parameter \(x\).
Problem 5
Explain why the use of global variables works against the principle of information hiding. Give an example of when this can lead to program errors.
Problem 7
Describe two to four advantages and one or two disadvantages of enforcing coding standards.
Problem 10
Describe how the principle of "Enforce Intentions" leads to improved code quality. Provide at least three examples to support your answer.