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


    Question

    Peephole optimization is applied

    during:
    A Lexical analysis Correct Answer Incorrect Answer
    B Parsing Correct Answer Incorrect Answer
    C Intermediate code generation Correct Answer Incorrect Answer
    D Code optimization Correct Answer Incorrect Answer
    E Error recovery Correct Answer Incorrect Answer

    Solution

    Peephole optimization looks at a small set ("peephole") of instructions and replaces inefficient patterns with optimized ones (e.g., removing redundant instructions).

    Practice Next
    ask-question