PREMIUM
Join our WhatsApp Channel
Daily MCQs, Past Papers & Jobs for PPSC, FPSC, CSS
Daily MCQs • Past Papers • Jobs for PPSC, FPSC, CSS
Join Channel

What is the process of finding and correcting errors in program code called?

A. Compiling
B. Executing
C. Testing
D. Debugging
Correct Answer: D. Debugging

Correct answer: Debugging. Debugging finds and fixes errors, or bugs, in code.

Background: Debuggers step through code to pinpoint faults.

  • Compiling: It translates code and only reports syntax errors.
  • Executing: It only runs the program, without fixing bugs.
  • Testing: It checks behaviour, but does not repair code.

Did you know? The word bug is linked to a moth in Harvard's Mark II in 1947.

Memory trick: De-bug: debugging removes bugs.

0 comments

Leave a Reply

Join Our WhatsApp Channel ×