Which of the following grammars is (are) ambiguous?

(A) s → ss | asb | bsa | λ

(B) s → asbs | bsas | λ

(C) s → aAB

A → bBb

B →  A | λ where λ denotes empty string

Choose the correct answer from the options given below:

1
(A) and (C) only
2
(B)only 
3
(B) and (C) only
4
(A) (B) and (C)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation