If G is a context-free grammar and W is a string of length l in L(G), how long…

GATE · 1992 · CS · Question 2 subparts

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 in Chomsky normal form?

  1. A.

    2l

  2. B.

    2l + 1

  3. C.

    2l − 1

  4. D.

    l

Attempted by 326 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…