retagged by
398 views
1 votes
1 votes

Which of the following is correct?

  1. $(01 )^* \cap (10)^*  =  \not{0}$
  2. $(x + y + z)^* = x^*y^*z^* + x^*y^* + z^* + z^*x^*y^*$
  3. $(p + q )^* p + ( p+q)^* q + \epsilon  =  (p^* q^*)^*$
  4. $(m + n)^* \cap  (m + n)^* mn \neq (m + n)^* mn$
retagged by

1 Answer

Best answer
3 votes
3 votes

A is false. Because Epsilon is present in both, So their intersection can't be Null.

B is false.

LHS = (x + y + z)* = All the string over the alphabet x, y, z.

RHS, It is easy to see that it doesn't contain all the string over x, y, z.

 C is True.

RHS = (p* q*)* = (p + q)* = All the string over the alphabet p, q.

LHS = (p + q)*p + (p + q)*q + $\epsilon$

$\Rightarrow$ LHS = (p + q)*(p + q) + $\epsilon$

The first part (p + q)*(p + q) contains all the string that is ending either with p or q. The second part contains $\epsilon$

Hence. It contains all the string over the alphabet p, q.

D is false.

$\sum$ * $\cap$ L = L.

So, (m + n)* $\cap$ (m + n)*mn = (m + n)*mn.

selected by
Answer:

Related questions

312
views
1 answers
0 votes
Bikram asked Aug 12, 2017
312 views
What is the regular expression corresponding to the above DFA?$(01 + (00)^*1)^*$0^*10^*$(10 + 0(00)^* (1 + 01) )^*$0(00)^*10^*$
287
views
1 answers
0 votes
Bikram asked Aug 12, 2017
287 views
Which of the following pairs of regular expressions define the same language $\{a, b\}$?$(a^*+ b^*) ^*$ and $(a+ b)^*$(a^* b )^* a^*$ and $a(ba^* )^*$(a^*+ b)^*$ ... and $a (ba)^*$a, b$, and $d$a, c$, and $d$b,c,d$a,b,c$ and $d$
333
views
1 answers
1 votes
Bikram asked Aug 12, 2017
333 views
Choose the regular expression corresponding to the given DFA :$(00 ^*1 + 11^* 0) (0 + 1) ^*$((11) ^* 0 + 00 ^* 1)(0 + 1) ^*$(11) ^* (0 ^* 1 + 1^* 0) (0 + 1) ^*$(11) ^* (00 ^* 1 + 10) (0 + 1) ^*$
295
views
1 answers
0 votes
Bikram asked Aug 12, 2017
295 views
Which of the following Regular Expression is NOT the same as the other three?$100 ( ( (00)^* (10)^* )^* 100)^*$100 ( ( ( 0+1) 0)^* 100 )^*$100 ( (00 + 10)^* 100)^*$100 ( ((0+1)^* 0^* )^* 100)^*$