retagged by
362 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

0 votes
0 votes
1 answer
1
Bikram asked Aug 12, 2017
285 views
What is the regular expression corresponding to the above DFA?$(01 + (00)^*1)^*$$0^*10^*$$(10 + 0(00)^* (1 + 01) )^*$$0(00)^*10^*$
1 votes
1 votes
1 answer
3
Bikram asked Aug 12, 2017
302 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) ^*...
0 votes
0 votes
1 answer
4
Bikram asked Aug 12, 2017
274 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)^*$$10...