Debugging is the process of:

2025

Debugging is the process of:

  1. A.

    Creating new software modules

  2. B.

    Removing defects from software

  3. C.

    Analysing software requirements

  4. D.

    Generating test cases

Attempted by 68 students.

Show answer & explanation

Correct answer: B

Concept: In the Software Development Life Cycle (SDLC), each stage names a distinct activity. Debugging specifically is the activity of taking a failure that has already been observed (typically flagged by testing) and locating and removing the underlying defect in the code that caused it, so the program's actual behaviour matches its intended behaviour.

Application: The option "Removing defects from software" states exactly this corrective activity, so it names the definition of debugging being asked for.

The other three options each name a different, earlier SDLC activity:

  • Creating new software modules — this is software construction/coding, where new functionality is written; it does not involve locating or removing a defect.

  • Analysing software requirements — this is requirements analysis, an early planning-phase activity that defines what the software should do, before any code (and hence any defect) exists.

  • Generating test cases — this is test design, the activity of preparing inputs and expected outputs that can later reveal a failure; it happens before defect isolation, not as part of it.

Cross-check: Since debugging is specifically the corrective, defect-removal step that follows a detected failure, and only one option names that activity, "Removing defects from software" is the correct answer.

Explore the full course: Bpsc

Loading lesson…