MCQ Answer

Which data structure in a compiler is used for managing information about variables and their attributes?

Which data structure in a compiler is used for managing information about variables and their attributes?

Topic : Computer Science and IT

A. Abstract syntax tree

B. Symbol table

C. Semantic stack

D. Parse table




Correct Answer is :

B. Symbol table



Explanation
Symbol table is a data structure used by a language translator such as a compiler or interpreter, where each identifier in a program’s source code is associated with information relating to its declaration or appearance in the source, such as its type, scope level and sometimes its location.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz