Please enable JavaScript to use CodeHS

AP CSA: MOD-2.C.3

CodeHS Lessons

A precondition is a condition that must be true just prior to the execution of a section of program code in order for the method to behave as expected. There is no expectation that the method will check to ensure preconditions are satisfied.

Standard
5.3 Documentation with Comments
Standard
1.7 Commenting Your Code
Standard
3.7 Commenting Your Code
Standard
1.7 Commenting Your Code
11.3 Documentation with Comments
Standard
1.7 Commenting Your Code
11.3 Documentation with Comments