Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which is a permanent database in the general model of compiler?

  • A.Literal Table
  • B.Identifier Table
  • C.Terminal Table
  • D.Source code

Answer: C

Correct answer: Terminal Table

The terminal table holds the fixed vocabulary of the language - its keywords, operators and punctuation, each with the information the compiler needs about it. It is a permanent database because it is the same for every program compiled, unlike the identifier and literal tables, which are built afresh from each source program.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.