In lexical analysis, what does pattern recognition primarily refer to?
2025
In lexical analysis, what does pattern recognition primarily refer to?
Answer: A. Detecting sequences of characters and classifying them into tokens
- A.
Detecting sequences of characters and classifying them into tokens
- B.
Organising syntax tree elements in memory
- C.
Converting source code directly into machine-level instructions
- D.
Applying grammar rules to parse the program
Attempted by 175 students.
Show answer & explanation
Correct answer: A
Loading lesson…