599 views
0 votes
0 votes

Why is WXWR a regular language but XWWR is not? (X,W ϵ (0,1)+)

2 Answers

0 votes
0 votes
0 votes
0 votes
look here X can be interpreted as any combination of 0's and 1's. so whatever input given to the fm it will interpret it as a language in which string starts and end with same character

for instance if we have 1(01010)1

Here first 1 and last 1 is W

and middle 01010 treated as X

and it is possible to make a Finite Automata for the language which starts and ends with same character

whereas in second language we cannot do the same in any possible way

Related questions

1.7k
views
2 answers
0 votes
Abhipsa asked Jan 21, 2019
1,656 views
Is this language regular? If yes, how?L = {wxwR | x, w ϵ {0, 1}*}wR is reverse of string w. Thank you!
720
views
1 answers
0 votes
sripo asked Jan 1, 2019
720 views
Can anyone explain how S2 is false,I did not understand their logic.
508
views
0 answers
0 votes
Sambhrant Maurya asked Oct 14, 2018
508 views
Which is the equivalent Regular Expression for the following: "Strings in which every group of 3 symbols should contain atleast 1 a."a)[(a+b) (a+b)a]*b) [(a+b) (a+b)a]* [(a+b)(a+b)a]*c)[(ϵ + b + bb)a]* [ ϵ+ b + bb]d) (abb)* (bab)b* (bba)*
656
views
2 answers
0 votes
Sambhrant Maurya asked Oct 1, 2018
656 views
Why is ambn / m,n>=1 a regular language but anbn / n>=1 not?