A note in the source code of a computer program that helps explain the code to people who read it.

Prepare for the Code.org Computer Science Discoveries test. Study with interactive quizzes and comprehensive explanations. Master key concepts and boost your confidence!

Multiple Choice

A note in the source code of a computer program that helps explain the code to people who read it.

Explanation:
In programming, a comment is a note added to the source code to explain what the code does, why it’s written a certain way, or how to use it. It’s for humans to read, not for the computer to execute, so the program ignores comments when it runs. That makes comments the best description of a “note in the source code that helps explain the code to people who read it.” A bug is an error in the code that causes incorrect behavior, whitespace is just formatting characters that help readability but don’t convey explanations, and a hyperlink is a web link, not a built-in way to document the code itself.

In programming, a comment is a note added to the source code to explain what the code does, why it’s written a certain way, or how to use it. It’s for humans to read, not for the computer to execute, so the program ignores comments when it runs. That makes comments the best description of a “note in the source code that helps explain the code to people who read it.” A bug is an error in the code that causes incorrect behavior, whitespace is just formatting characters that help readability but don’t convey explanations, and a hyperlink is a web link, not a built-in way to document the code itself.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy