Beginner
Compilers & Programming Language Theory
Q9 / 100
What is a symbol table in compilers?
Correct! Well done.
Incorrect.
The correct answer is B) A data structure mapping identifiers to their attributes: type, scope, memory location, and other properties
B
Correct Answer
A data structure mapping identifiers to their attributes: type, scope, memory location, and other properties
Explanation
Symbol tables support declaration and lookup of identifiers. Scoped symbol tables handle nested scopes. Attributes stored: type, size, offset, parameter list for functions. Central to type checking and code generation.
Progress
9/100