Worksheet: Programming - Internal Documentation
Comprehension worksheet generated from the video "Programming - Internal Documentation".
Worksheet: Programming - Internal Documentation
JaxDoc

Vocabulary
- Internal Documentation — Notes and elements left behind in the code to help future developers understand what’s happening.
- White Space — The use of blank lines, spaces, and indentation in code to improve readability and structure.
- Meaningful Names — Using descriptive names for variables, classes, and functions that clearly indicate their purpose or what they represent.
- Indent — A visual offset of code lines to show that a statement is part of a larger block or structure, such as within a function or loop.
- Comments — Explanatory notes within code that are ignored by the compiler/interpreter, used to clarify code’s purpose, functionality, or changes made.
Questions
Watch the video carefully and answer the following questions based on the information presented.
1.
What specific formatting choices did Google make in their code (shown at 0:25) that the narrator identifies as making it difficult to read and understand?
2.
According to the video, what does an “indent” signify in programming code, and provide an example given by the narrator?
3.
The narrator discusses two main types of information that comments can provide. Describe these two types of comments and why they are useful.
4.
Which of the following best describes the benefit of using “meaningful names” in programming, as explained in the video?
5.
Imagine you are working on a large software project with a team of developers. Explain how the three practices of internal documentation discussed in the video (white space, meaningful names, and comments) would collaboratively help your team maintain and update the code efficiently.
Want materials like this for your lessons?
Jax builds worksheets, study guides, and lesson materials for whatever you're teaching. Free to start, no card needed.

