retagged by
1,632 views
1 votes
1 votes

Which data structure is used by the compiler for managing variables and their attributes?

  1. Binary tree
  2. Link list
  3. Symbol table
  4. Parse table
retagged by

1 Answer

0 votes
0 votes
Ans (b) Symbol table.

Symbol table is an important data structure created and maintained by compilers in order to store information about the occurrence of various entities such as variable names, function names, objects, classes, interfaces, etc. Symbol table is used by both the analysis and the synthesis parts of a compiler.
Answer:

Related questions

0 votes
0 votes
1 answer
1
go_editor asked Mar 26, 2020
259 views
Symbol Table can be used for :Checking type compatibilitySuppressing duplication of error messageStorage allocationAll of these
1 votes
1 votes
1 answer
3
Arjun asked Jul 2, 2019
4,774 views
On translating the expression given below into quadruple representation, how many operations are required?$$(i\ast j)+(e+f)\ast(a\ast b+c)$$$5$$6$$3$$7$
1 votes
1 votes
1 answer
4
Arjun asked Jul 2, 2019
4,106 views
Replacing the expression $4\ast 2\cdot 14$ by $8 \cdot 56$ is known asconstant foldinginduction variablestrength reductioncode reduction