Choose the correct description of Symbol table.
Difficulty: Hard
About this MCQ
This Hard Compiler Design MCQ checks one syllabus fact.
The question is: “Choose the correct description of Symbol table.”
The accepted answer is C. A data structure used by a compiler to store information about variables, functions, and identifiers.. Choose the correct description of Symbol table is answered by A data structure used by a compiler to store information about variables functions and identifiers option C Option A The compiler phase that translates source code into an intermediate representation before final code generation does not match the stem it is a near-miss used to catch incomplete recall of A data structure used by a compiler to store information about variables functions and identifiers Option B The first phase of compilation that converts source code into a sequence of tokens does not match the stem it is a near-miss used to catch incomplete recall of A data structure used by a compiler to store information about variables functions and identifiers.
- A. The compiler phase that translates source code into an intermediate representation before final code generation.
Why not A: “The compiler phase that translates source code into an intermediate representation before final code generation.” is not correct. The accepted answer is C. A data structure used by a compiler to store information about variables, functions, and identifiers.. Choose the correct description of Symbol table is answered by A data structure used by a compiler to store information about variables functions and identifiers option C Option A T
- B. The first phase of compilation that converts source code into a sequence of tokens.
Why not B: “The first phase of compilation that converts source code into a sequence of tokens.” is not correct. The accepted answer is C. A data structure used by a compiler to store information about variables, functions, and identifiers.. Choose the correct description of Symbol table is answered by A data structure used by a compiler to store information about variables functions and identifiers option C Option A T
- C. A data structure used by a compiler to store information about variables, functions, and identifiers. ✓
- D. A tree representation showing the syntactic structure of source code according to grammar rules.
Why not D: “A tree representation showing the syntactic structure of source code according to grammar rules.” is not correct. The accepted answer is C. A data structure used by a compiler to store information about variables, functions, and identifiers.. Choose the correct description of Symbol table is answered by A data structure used by a compiler to store information about variables functions and identifiers option C Option A T
Correct answer
C. A data structure used by a compiler to store information about variables, functions, and identifiers.
Explanation
Choose the correct description of Symbol table is answered by A data structure used by a compiler to store information about variables functions and identifiers option C Option A The compiler phase that translates source code into an intermediate representation before final code generation does not match the stem it is a near-miss used to catch incomplete recall of A data structure used by a compiler to store information about variables functions and identifiers Option B The first phase of compilation that converts source code into a sequence of tokens does not match the stem it is a near-miss used to catch incomplete recall of A data structure used by a compiler to store information about variables functions and identifiers.
Source: Compiler Design Official Reference Guide
Tags: computer science, compiler design, compilers, programming languages
Submitted by: MCQsHub Editorial
Related MCQs
- Semantic analysis is best defined as which of the following?
- What is the function or purpose of Intermediate code generation?
- Identify the correct concept described as: the compiler phase that checks source code for meaningful correctne...
- The concept in which the compiler phase that improves intermediate or final code to make it run faster or use...
- Which of the following best describes Syntax analysis?
- Identify the correct definition of Code optimization.