1.

Which symbol table implementation is based on the property of locality of reference?(a) Linear list(b) Search tree(c) Hash Table(d) Self OrganisationI got this question during a job interview.This intriguing question comes from Lexical Analysis topic in division Compiler Introduction of Compiler

Answer» RIGHT answer is (C) Hash Table

The EXPLANATION is: Hash table is used as a reference for SYMBOL table because it is EFFICIENT.


Discussion

No Comment Found

Related InterviewSolutions