retagged by
736 views
1 votes
1 votes

Which of the following is correct?

  1. $(01)^* \cap (10)^* = \phi$
  2. $(a + b + c)^* = a^*b^*c^* + a^*b^* + c^* + c^*a^*b^*$
  3. $(p + q)^* p + (p + q)^* q + \epsilon = (p^* q^*)^*$
  4. $( y + z)^*  \cap (y + z)^* yz   \neq ( y + z)^* yz$
retagged by

1 Answer

Best answer
3 votes
3 votes
A. False, $\epsilon$ is common in both $(01)^*$ and $(10)^*$

B. False, LHS contain strings as $abab, ababab$ etc RHS doesn't.

C.True, $(p+q)^*p+(p+q)^*q+\epsilon =$ strings over $\{p,q\}$ those ends with $p$     $+$ those ends with $q$    $ +$ those doesnt end with p or q (i.e, $\epsilon$) = all strings over $\{p,q\}$ , i.e,$ (p+q)^* = (p^*q^*)^*$

D.False , all strings over $\{y,z\}$ (that also includes all strings ending with $yz$ ) $\bigcap$ all strings $\{y,z\}$ ending with $yz= (y+z)^*yz$
selected by
Answer:

Related questions

309
views
1 answers
0 votes
Bikram asked Aug 12, 2017
309 views
What is the regular expression corresponding to the above DFA?$(01 + (00)^*1)^*$0^*10^*$(10 + 0(00)^* (1 + 01) )^*$0(00)^*10^*$
281
views
1 answers
0 votes
Bikram asked Aug 12, 2017
281 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$
396
views
1 answers
1 votes
Bikram asked Aug 12, 2017
396 views
Which of the following is correct?$(01 )^* \cap (10)^* = \not{0}$(x + y + z)^* = x^*y^*z^* + x^*y^* + z^* + z^*x^*y^*$(p + q )^* p + ( p+q)^* q + \epsilon = (p^* q^*)^*$(m + n)^* \cap (m + n)^* mn \neq (m + n)^* mn$
331
views
1 answers
1 votes
Bikram asked Aug 12, 2017
331 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) ^*$