in Theory of Computation edited by
896 views
2 votes
2 votes

please explain:

in Theory of Computation edited by
896 views

4 Comments

@sourav. it is 1* not 1+ so it is not necessary that every string will contain 1 in it.

1
1
@subhanshu : yes you are correct , i missed $o^{n}1^{*}0^{n}$, it will be non deterministic then.

Thanks
0
0
thanks everyone ,i was thinking i was doing some mistake .
0
0

1 Answer

1 vote
1 vote

All three options are wrong.
if you follow Chomsky hierarchy, you get that all DCFL is also CFL.
And a CFL is also a CSL.

L = L1 intersection L2

L = 0n1*0

So L is CFL as well as CSL ,REL but not RL.
As 0n1+0n is DCFL
So option is D.

edited by

Related questions