Internal documentation Flashcards

1
Q

Explain the purpose of internal documentation.

A

Internal documentation covers the entire program, detailing classes, functions, methods, objects, and algorithms. It combines with well-named variables for organized and effective code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are three conventions of internal documentation that should be included
in source code?

A
  • Descriptions of how to test aspects of the software.
  • Multi-line comments, explaining a complex algorithm within the code itself.
  • Single line comments, providing brief summaries of portions of code.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Does internal documentation slow down a software solution? Explain.

A

No, comments in code are ignored by the compiler.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly