📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    Which of the following is a good practice when

    debugging?
    A Changing multiple parts of the code simultaneously to see what fixes the bug. Correct Answer Incorrect Answer
    B Assuming the bug is in a specific module without investigation. Correct Answer Incorrect Answer
    C Reproducing the bug consistently with minimal steps. Correct Answer Incorrect Answer
    D Avoiding the use of a debugger to improve critical thinking. Correct Answer Incorrect Answer
    E Deleting code that seems unrelated to the bug. Correct Answer Incorrect Answer

    Solution

    Reproducing the bug consistently is paramount. If you can reliably make the bug happen, you can then systematically investigate its cause. Minimal steps help isolate the problem.

    Practice Next
    ask-question