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


    Question

    Which of the following is an example of a "local

    optimization"?
    A Optimizing an entire program across multiple functions. Correct Answer Incorrect Answer
    B Optimizing a single basic block (a sequence of instructions with one entry and one exit point). Correct Answer Incorrect Answer
    C Optimizing loops by moving invariant code. Correct Answer Incorrect Answer
    D Optimizing memory access patterns across the whole program. Correct Answer Incorrect Answer
    E Optimizing the interaction between different modules. Correct Answer Incorrect Answer

    Solution

    Optimizing a single basic block (a sequence of instructions with one entry and one exit point).

    Practice Next
    ask-question