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


    Question

    What is the primary purpose of a "symbol table" in a

    compiler's runtime environment?
    A To store the machine code instructions. Correct Answer Incorrect Answer
    B To keep track of all identifiers, their types, scopes, and addresses. Correct Answer Incorrect Answer
    C To manage the call stack during function execution. Correct Answer Incorrect Answer
    D To store intermediate code generated by the front end. Correct Answer Incorrect Answer
    E To perform error recovery during parsing. Correct Answer Incorrect Answer

    Solution

    To keep track of all identifiers, their types, scopes, and addresses.

    Practice Next
    ask-question