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


    Question

    A "lexeme" refers

    to:
    A A category of tokens (e.g., IDENTIFIER, KEYWORD). Correct Answer Incorrect Answer
    B The actual sequence of characters in the source program that matches a pattern for a token. Correct Answer Incorrect Answer
    C The internal representation of a token. Correct Answer Incorrect Answer
    D An error detected during lexical analysis. Correct Answer Incorrect Answer
    E The rule defining the structure of a token. Correct Answer Incorrect Answer

    Solution

    The actual sequence of characters in the source program that matches a pattern for a token.

    Practice Next
    ask-question