UGC NET June-2019 CS Paper-2

Question 14
Which data structure is used by the compiler for managing variables and their attributes?
A
Binary tree
B
link list
C
Symbol table
D
Parse table
Question 14 Explanation: 
Symbol tables are data structures that are used by compilers to hold information about source-program constructs. The information is collected incrementally by the analysis phases of
a compiler and used by the synthesis phases to generate the target code. Entries in the symbol table contains information about an identifier such as its character string (or lexeme) , its type,its position in storage, and any other relevant information.
Correct Answer: C
Question 14 Explanation: 
Symbol tables are data structures that are used by compilers to hold information about source-program constructs. The information is collected incrementally by the analysis phases of
a compiler and used by the synthesis phases to generate the target code. Entries in the symbol table contains information about an identifier such as its character string (or lexeme) , its type,its position in storage, and any other relevant information.
0 0 votes
Article Rating
Subscribe
Notify of


0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: <b>Alert: </b>Content selection is disabled!!
UGC NET June-2019 CS Paper-2
November 27, 2023
UGC NET June-2019 CS Paper-2
November 27, 2023
UGC NET June-2019 CS Paper-2
November 27, 2023
UGC NET June-2019 CS Paper-2
November 27, 2023