Which of the following best describes the purpose of de…

Which of the following best describes the purpose of debugging programs?

Which of the following best describes the purpose of debugging programs?

A.
To generate random data that can be used to test programs before implementing them.

B.
To ensure that program coding flaws are detected and corrected.

C.
To protect, during the programming phase, valid changes from being overwritten by other changes.

D.
To compare source code versions before transferring to the test environment

Explanation:
Debugging provides the basis for the programmer to correct the logic errors in a program under development
before it goes into production. Logical errors and coding mistakes are referred to as bugs in the code.
Incorrect Answers:
A: The process of generating random data that can be sent to a target program in order to trigger failures is
called fuzzing.
C: Debugging does not protect the program from changes.
D: Debugging is not used to compare code versions.

Harris, Shon, All In One CISSP Exam Guide, 6th Edition, McGraw-Hill, New York, 2013, pp. 1102-1103, 1105
https://en.wikipedia.org/wiki/Debugging



Leave a Reply 0

Your email address will not be published. Required fields are marked *