All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · November 2020

Which of the following are applications of symbol table?

(A) Storage allocation

(B) Checking type compatability

(C) Suppressing duplicate error messages

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. (A), (B) and (C)

Explanation

The symbol table supports storage allocation, type checking and avoiding repeated error messages for the same undeclared name.

More Theory of Computation and Compilers questions