405 views
0 votes
0 votes

which of the statement is/are correct

1 Answer

Best answer
0 votes
0 votes

If L={a+b+} then LR={b+a+}

So L contains strings {ab,aab,aaab,abbb...} and LR={ba,baa,bba,...}

No strings common.

If L={a+} then LR={a+}

So L contains strings {a,aa,aaa...} and LR contains {a,aa,aaa...}

All strings common.

So S1 is false.

--------------------------------------------------------

If L1={a} and L2={a*}

Then L1L2={aa*} and L2L1={a*a}  Both are same hence commutative in this case also..

S2 is false..

 

selected by

Related questions

0 votes
0 votes
1 answer
2
0 votes
0 votes
2 answers
3
jugnu1337 asked Sep 3, 2023
349 views
FIND the no of 2 state dfa with the designated initial state possible over {a,b,c} which accept empty language is equal to