641 views
2 2 votes
1. L = { w0x |  |w|,|x|>=2 and w,x $\epsilon$ (0,1)*}

2. L = {w0x | |w|,|x| is even and w,x $\epsilon$ (0,1)*}

 PS: '0' is zero everywhere.

Are these two regular?

1 Answer

Best answer
0 0 votes

Both of them are regular since we can form a regular expression for both of them:

1. (0+1)(0+1)(0+1)*0(0+1)(0+1)(0+1)*

2. ((0+1)(0+1))*0((0+1)(0+1))*

• selected by
Position:
Show:

Related questions

1 1 vote
0 0 answers
1.4k
1.4k views
gari asked Jan 1, 2018
1,377 views
Identify the language. apbqcrds | p+r=q+s
2 2 votes
1 1 answer
985
985 views
Tuhin Dutta asked Dec 4, 2017
985 views
$L = \{ wcww^r |\ w,c\ \epsilon\ ( a + b\ )^* \}$Identify the language.
1 1 vote
1 answers 1 answer
878
878 views
just_bhavana asked Jul 4, 2017
878 views
L = { w | w $\epsilon$ (a,b)* and #a(w) - #b(w) $\leq$ 10}. Is L regular or a CFL?
1 1 vote
1 1 answer
1.2k
1.2k views
just_bhavana asked Jul 4, 2017
1,159 views
L1 = {w | length of w is odd and its middle symbol is 0, w $\epsilon$ (0,1)*}Is it regular, a CFL or a CSL?