Comp chap 8

Documentation of computer programs is important so that ...

Verified Answer
A. users can learn how to use the program
B. other programmers can know how to maintain the program
C. the programmer can see why the code is written that way while hunting for sources of error
D. all of the above
E. none of these

Explanation:

Program documentation is crucial for various stakeholders and stages of a software's lifecycle. Let's evaluate each option: Option (a) 'users can learn how to use the program' refers to user documentation, which guides end-users on how to operate the software effectively. Option (b) 'other programmers can know how to maintain the program' refers to technical documentation (e.g., design documents, API documentation, code comments) that helps developers understand the program's architecture, logic, and functionality for future maintenance, updates, or debugging. Option (c) 'the programmer can see why the code is written that way while hunting for sources of error' highlights the importance of internal documentation and design rationale, which aids in debugging and troubleshooting by providing insight into the original intent and logic behind the code. Since all three options present valid and important reasons for documenting computer programs, option (d) 'all of the above' is the correct answer.