Skip to content

Compiler Design

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.

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

More Compiler Design MCQs