GATEverse
← GATE CSE 1994

Q20

NATMarks unknown

A grammar GG is in Chomsky-Normal Form (CNF) if all its productions are of the form A→BCA \to BC or A→aA \to a, where A,BA,B and CC, are non-terminals and aa is a terminal. Suppose GG is a CFG in CNF and ww is a string in L(G)L(G) of length nn, then how long is a derivation of ww in GG?

Sign in to save attempts.

Loading…