What is written in a program as comments?

Study for the Computer Science Pathway EOPA Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

What is written in a program as comments?

Explanation:
Comments written inside a program are internal documentation. They’re notes by the programmer that explain what the code does, why a certain approach was taken, or how to reuse and modify it. These comments live in the source file and are ignored by the compiler or interpreter at runtime, so they don’t change how the program runs. External documentation resides outside the codebase—like READMEs or API guides—and is intended for users or developers who aren’t reading the source directly.

Comments written inside a program are internal documentation. They’re notes by the programmer that explain what the code does, why a certain approach was taken, or how to reuse and modify it. These comments live in the source file and are ignored by the compiler or interpreter at runtime, so they don’t change how the program runs. External documentation resides outside the codebase—like READMEs or API guides—and is intended for users or developers who aren’t reading the source directly.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy