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

Which of the following languages are regular?

in Theory of Computation edited by
557 views

4 Comments

1) assuming x is outside (0+1)*, it is non-regular

2) regular, L=(0+1)*

3) regular

4) non-regular
1
1

If x is a constant symbol then (1) is regular? @ joshi_nitish

0
0
no,

even if 'x' is constant symbol outside (0+1)*, then also (i) is not regular.
0
0
If x is of fixed length then 1 is non regular. If x can take value (0,1)* then it is regular.

$1^{2n}$ is 1^{AP series} hence it is regular.

$1^{n^2}$ is 1^{non AP series hence not regular}

 

Hence only 2 and 3 are regular.
1
1

1 Answer

0 votes
0 votes
Only 2 is regular .

Related questions