Which of the following is not one of the principles of good coding?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. Write self-documenting code not program documentation.
Explanation
Pressman's coding principles include creating unit tests first, a visual layout that aids understanding, refactoring, and writing self-documenting code. Self-documenting code does not replace program documentation, so D is not a principle.
More Software Engineering questions
- If P is the risk probability, L is the loss, then Risk exposure (RE) is computed as ______
- The cyclomatic complexity metric provides the designer with information regarding the number of -____
- Given below are two statements: Statement I: Software testing must be recognized as a significant effort, and its planning must begin at th…
- Match List I with List II
- The primary objectives of the SWE-IPT are to: A. Solicit stakeholder needs and expectations. B. Specify the software requirements for the p…
- COCOMO stands for-