457 views
0 votes
0 votes
Let language L1 = {0,1}* if another language L2 is CFL.

L1 = empty set if another language L2 is not CFL.

L2 = a language the is R.E and its complement is R.E.

What can we say about L1 and L2?

is L1 and L2 are regular, CFL, CSL, R.E or finite or infinite.

1 Answer

0 votes
0 votes

L1 is regular since it can accept any number of 0's and 1's including epsilon

L2 is recurrsive  since L2 and L2'  both are RE

Related questions

0 votes
0 votes
1 answer
1
Harikesh Kumar asked Jan 29, 2018
391 views
L=wxw^r.W=(0,1)^*Is regular language how?
1 votes
1 votes
1 answer
4
learner_geek asked Aug 15, 2017
1,402 views
Is complement of language same type or not decidable by CFL and recursive language or not???Grammar is ambiguous or not?Grammar in regular/CFL/rel decidable or not?