What are the two types of documentation?

Prepare for the Fundamentals of Computing Test. Study with flashcards and multiple choice questions, each featuring hints and thorough explanations. Get exam-ready!

Multiple Choice

What are the two types of documentation?

Explanation:
Two common types of documentation in software projects are inline comments and README files. Inline comments explain what specific parts of the code do, the reasoning behind non-obvious decisions, and any tricky logic, right where the code lives so future readers don’t have to deduce it from the code alone. README files provide a high-level overview of the project, how to install and run it, basic usage, dependencies, and guidelines for contributing. These two forms together cover both the micro-level explanations near the code and the macro-level guidance that helps users and contributors get started. Other options aren’t primarily documentation: source code and binaries are the actual program and its compiled form, not explanations or usage guidance; log files and error reports describe what happened during execution rather than how to use or understand the project; design diagrams and prototypes are design artifacts that show planned structure, not the ongoing, practical documentation used for maintenance and onboarding.

Two common types of documentation in software projects are inline comments and README files. Inline comments explain what specific parts of the code do, the reasoning behind non-obvious decisions, and any tricky logic, right where the code lives so future readers don’t have to deduce it from the code alone. README files provide a high-level overview of the project, how to install and run it, basic usage, dependencies, and guidelines for contributing. These two forms together cover both the micro-level explanations near the code and the macro-level guidance that helps users and contributors get started.

Other options aren’t primarily documentation: source code and binaries are the actual program and its compiled form, not explanations or usage guidance; log files and error reports describe what happened during execution rather than how to use or understand the project; design diagrams and prototypes are design artifacts that show planned structure, not the ongoing, practical documentation used for maintenance and onboarding.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy