Convert the following CFGs with unit productions into CNF: (i) S X X Y Y

Question:

Convert the following CFGs with unit productions into CNF:

(i)

S → X
X → Y
Y → Z
Z → aa

(ii)

S → SS I A
A → SS I AS I a

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: