Consider the following statements: S₁: A parse table is the data structure in…

Consider the following statements:

S₁: A parse table is the data structure in a compiler that is used for managing information about variables and their attributes.

S₂: Every deterministic context-free language has an LR(1) grammar.

Select the correct option:

  1. A.

    Both S₁ and S₂ are true

  2. B.

    S₁ is true, while S₂ is false

  3. C.

    S₁ is false, while S₂ is true

  4. D.

    Both S₁ and S₂ are false

Attempted by 91 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…