In computer science, Lexeme refers to which of the following?
Difficulty: Medium
- A. The compiler phase that improves intermediate or final code to make it run faster or use fewer resources.
- B. A program that translates an entire source program written in a high-level language into machine code before execution.
- C. A sequence of characters in source code that matches the pattern for a token. ✓
- D. A tree representation showing the syntactic structure of source code according to grammar rules.
Correct answer
C. A sequence of characters in source code that matches the pattern for a token.
Correct answer
Source: Compiler Design Official Reference Guide
Tags: computer science, compiler design, compilers, programming languages
Submitted by: MCQsHub Editorial
Related MCQs
- Identify the correct definition of Code optimization.
- Which statement correctly explains Parse tree?
- The concept in which the compiler phase that improves intermediate or final code to make it run faster or use...
- Which concept is defined as follows: a categorized unit of meaning, such as a keyword or identifier, produced...
- What is the function or purpose of Intermediate code generation?
- What is Token primarily used for?