CompTIA A+ Core 2 (220-1002) — Question 439

A network technician is creating a set of scripts to help complete some common tasks. The technician wants to leave notes within the scripts to explain the purpose of each section and allow for changes later. Which of the following should the technician use?

Answer options

Correct answer: A

Explanation

The correct choice is A, Inline comments, as they allow the technician to insert explanations directly in the code for clarity. Options B and C do not provide in-code explanations, and D is unrelated to documenting script functions.