What is the name for the use of regular expressions by a lexical analyzer to define and recognize valid tokens?
Difficulty: Medium
- A. Bottom-up parsing
- B. Type checking
- C. Lexical pattern matching ✓
- D. Assembler
Correct answer
C. Lexical pattern matching
Correct answer
Source: Compiler Design Official Reference Guide
Tags: computer science, compiler design, compilers, programming languages
Submitted by: MCQsHub Editorial
Related MCQs
- What does Grammar ambiguity refer to?
- Which of the following best describes Lexical pattern matching?
- Which term refers to a property of a formal grammar where a single string can be produced by more than one dis...
- Identify the correct concept described as: a technique that compiles code into machine instructions at runtime...
- Select the accurate description of Top-down parsing.
- Just-in-time (JIT) compilation is best defined as which of the following?