GATE 1992
March 17, 2025
GATE 1993
March 17, 2025
GATE 1992
March 17, 2025
GATE 1993
March 17, 2025

GATE 1992

Question 28

If G is a context-free grammar and w is a string of length l in L(G), how long is a derivation of w in G, if G is Chomsky normal form?

A
2l
B
2l + 1
C
2l – 1
D
l
Question 28 Explanation: 
For CNF, it is
2l – 1
For GNF, it is
l
Correct Answer: C
Question 28 Explanation: 
For CNF, it is
2l – 1
For GNF, it is
l

Leave a Reply

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