recategorized by
3,704 views
17 votes
17 votes
State whether the following statements are TRUE or FALSE:

Regularity is preserved under the operation of string reversal.
recategorized by

5 Answers

0 votes
0 votes

Operation of String Reversal:

e.g. L = { b,ab,aab,aaab,..} Reversal of L: $L^{R}$ = {b,ba,baa,baaa..} 

  1. Proof by Reg Ex.

R1 = a*b & $R1^{R}$ = ba*. Therefore $L^{R}$ is also regular.

All Reg Ex can be reversed which results in Reg Ex. 

e.g. :     L                      $L^{R}$

       r + s                        $r^{R}$ + $s^{R}$

        rs                           $s^{R}$$r^{R}$

        r*                            ($r^{R}$)*

  1. Proof by DFA

                https://gateoverflow.in/80589/gate-cse-1987-question-2h?show=80593#a80593

 

Therefore, Regular Languages are closed under Reversal of Strings.

 

Answer:

Related questions

13 votes
13 votes
2 answers
5
makhdoom ghaya asked Nov 9, 2016
2,538 views
State whether the following statements are TRUE or FALSE:All subsets of regular sets are regular.
14 votes
14 votes
2 answers
6
makhdoom ghaya asked Nov 9, 2016
3,965 views
State whether the following statements are TRUE or FALSE:The problem as to whether a Turing machine $M$ accepts input $w$ is undecidable.
14 votes
14 votes
4 answers
7
makhdoom ghaya asked Nov 9, 2016
3,586 views
State whether the following statement are TRUE or FALSE.$A$ is recursive if both $A$ and its complement are accepted by Turing machines.
21 votes
21 votes
4 answers
8
makhdoom ghaya asked Nov 9, 2016
3,392 views
State whether the following statements are TRUE or FALSE:The intersection of two CFL's is also a CFL.