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

Discussion

Which of the following is NOT a class of syntax directed definition?

  • A.LR-attributed as defined by the parser class
  • B.S-attributed
  • C.L-attributed
  • D.circular

Answer: A

Correct answer: LR-attributed as defined by the parser class

The recognised classes are defined by the direction and dependency of the attributes, not by the parser: S-attributed, L-attributed, and circular for those that cannot be evaluated at all. There is no class named after LR parsing, and naming one after a parser would confuse the definition with its implementation.

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

Post your comment

Please log in or register to post a comment.