Let ∑={0,1}* and the grammar G be: S->ε S->SS S->0S1|1S0 State which of the following is true for the given

Hưng Thịnh

New member
Let ∑={0,1}* and the grammar G be:
S->ε
S->SS
S->0S1|1S0
State which of the following is true for the given
A. Language of all and only Balanced strings
B. It contains equal number of 0’s and 1’s
C. Ambiguous Grammar
D. All of the mentioned
 

Tìm kiếm

Back
Top