All mock tests are FREE till 31 December — register to save your progress
Unit 6 · Software Engineering Paper 2 CS · December 2022 (Shift 1)

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