Question: What is the purpose of a symbol table in the context of lexical analysis?
Options:
Correct Answer: To keep track of variable names and their attributes
Solution:
The symbol table is used to keep track of variable names, their types, and other attributes during the compilation process.