...
GATE-2024-CS1(Forenoon)
January 3, 2025
Data-Structures
January 3, 2025
GATE-2024-CS1(Forenoon)
January 3, 2025
Data-Structures
January 3, 2025

GATE-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?.

A
(1) S → Rf (2) T —> Ε (3) R → cTR
B
(1) S →fR (2) T —> Ε (3)R → cTR
C
(1) S →fR (2) T→cT (3) R→ cR
D
(1) S → Rf (2) T→cT (3) R→ cR
Correct Answer: A

Leave a Reply

Your email address will not be published. Required fields are marked *