Question:

In the context of programming the term 'debugging' refers to:

Show Hint

Remember the etymology: a "bug" is an error. To "de-bug" is to remove the errors. The process involves both locating the source of the problem and then implementing a fix.
Updated On: Sep 23, 2025
  • writing the code
  • documenting the code
  • finding and fixing errors in the code
  • running the code
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Define the term 'debugging'. 
The term originates from an early incident where a moth (a literal bug) caused a malfunction in a computer. In programming, a "bug" is an error, flaw, or fault in a computer program that causes it to produce an incorrect or unexpected result, or to behave in unintended ways.

Step 2: Analyze the process of debugging. 
Debugging is the methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected. It involves identifying the source of the error and then correcting it.

Step 3: Evaluate the options. 
(A) Writing the code is coding or programming. 

(B) Documenting the code is explaining what the code does. 

(C) "Finding and fixing errors in the code" is the precise definition of debugging. 

(D) Running the code is execution or testing, which is often a prerequisite to find bugs, but it is not debugging itself.

Was this answer helpful?
0
0

Questions Asked in CUET PG exam

View More Questions