GATE 2020 Computer Science and Information Technology question: Consider the productions A PQ and A XY. Each of the five non-terminals A, P, Q, X, and Y…
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?
Show answer
Official answer: B