GATE-2024-CS1(Forenoon)
January 3, 2025Data-Structures
January 3, 2025GATE-2024-CS1(Forenoon)
|
Question 38
|
Consider the following grammar G, with S as the start symbol. The grammar G has three incomplete productions denoted by (1), (2), and (3).

Which one of the following options CORRECTLY fills in the incomplete productions?.
|
(1) S → Rf (2) T —> Ε (3) R → cTR
|
|
|
(1) S →fR (2) T —> Ε (3)R → cTR
|
|
|
(1) S →fR (2) T→cT (3) R→ cR
|
|
|
(1) S → Rf (2) T→cT (3) R→ cR
|
Correct Answer: A
