adplus-dvertising
frame-decoration

Question

Which of the following CFG’s can’t be simulated by an FSM ?

a.

S->Sa/b

b.

S->aSb/ab

c.

S->abX, X->cY, Y->d/aX

d.

None of these

Answer: (b).S->aSb/ab

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following CFG’s can’t be simulated by an FSM ?