S1: φ.ε = ε
S2: φ+ε = φ
Select the correct option
S1: (φ.ε)* = ε
S2: (φ+ε)* = φ*
Select the correct option
Select the correct regular expression
S1: We can use pumping lemma to prove that language generated by regular expression R= a*b* is a regular language.
S2: We can use pumping lemma to prove that language L = { an bn | n>0} is a non-regular language.
Select the correct option
S→ 0P0 | 1P1 | ε
P→ P0 | P1 |ε
Select the correct option
R1: (a+b)* a (a+b)*
R2: b*a (a+b)*
Select the correct option
G1: S→ aSb| bSa | aSa | bSb |a | b | ε
G2: S→ aS | bS | ε
Select the correct option.
R1: (a*b*b*)*
R2: (a*b*+b*)*
Select the correct option:
R1: (0+1)* 1 (0+1)* 0
R2 : (0+1)+
Select the correct option.
S ⟶ aSb|bSa|∈
Select the correct option
(i) (a+b)* = (a*+b)+
(ii) (a+b)*= (a+ + b+ )*
Select the correct option.