Consider the productions \(A → PQ\) and \(A → XY\). Each of the five…
GATE · 2020 · CS · Computer Science & IT
Consider the productions and . Each of the five non-terminals , and has two attributes: is a synthesized attribute, and is an inherited attribute. Consider the following rules.
Rule 1 : and
Rule 2 : , and
Which one of the following is TRUE ?
- A.
Both Rule 1 and Rule 2 are
- B.
Only Rule 1 is
- C.
Only Rule 2 is
- D.
Neither Rule 1 nor Rule 2 is
Attempted by 157 students.
Sign up free to check your answer
Sign up freeLoading lesson…