retagged by
446 views
2 votes
2 votes

Which of the following are regular?

  1. $\{aba^R \mid a,b \in \{0,1\}^+ \}$  
  2. $\{aba  \mid a,b \in \{0,1\}^* \}$
  3. $\{aba^R \mid b,a  \in \{0,1\}^* \text{ and } \mid b \mid = 10 \}$
  1.   (i) and (iii) only
  2.   (i) and (ii) only
  3.   (i) only
  4.   (ii) and (iii) only
retagged by

1 Answer

Best answer
0 votes
0 votes

abaR  ,  a ∈ (0,1) *
We have to remember only one thing the strings generated should start and end with a same symbol.

The whole part of a and aR except the start and end symbol comes in b

(ii) In these expression the FA has to remember where a ends b starts and again where b ends and b starts so it not possible.

(iii) When b is fixed then abaR is not regular , where a ∈ (0,1) * . Because the whole string does not comes in b of a and aR.

selected by
Answer:

Related questions

0 votes
0 votes
1 answer
3