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


    Question

    What is "rubber duck

    debugging"?
    A Debugging a program remotely. Correct Answer Incorrect Answer
    B Explaining your code line by line to an inanimate object (like a rubber duck) to help identify logical flaws. Correct Answer Incorrect Answer
    C Using a specialized debugging tool called "Rubber Duck". Correct Answer Incorrect Answer
    D Debugging code written by someone else. Correct Answer Incorrect Answer
    E A method for testing UI elements. Correct Answer Incorrect Answer

    Solution

    Rubber duck debugging is a psychological technique where a programmer explains their code, line by line, to an inanimate object. The act of articulating the problem and walking through the code often helps the programmer identify the bug themselves, as they might spot assumptions or logical errors they overlooked.

    Practice Next
    ask-question