recategorized by
568 views
3 votes
3 votes

Let $\Sigma= {a, b}$ and language $L = {aa, bb}$. Then, the complement of $L$ is

  1. $\left\{\lambda, a, b, ab, ba \right\} \cup \left\{w \in\left\{a, b\right\}^{*} | |w| > 3 \right\}$
  2. $\left\{a, b, ab, ba \right\} \cup \left\{w  \in \left\{a, b\right\}^{*} | |w| \geq 3 \right\}$ 
  3. $\left\{w \in  \left\{a, b\right\}^{*} | |w| > 3\right\} \cup \left\{a, b, ab, ba \right\}$ 
  4. $\left\{\lambda, a, b, ab, ba\right\} \cup \left\{w \in \left\{a, b\right\}^{*} | |w| \geq 3 \right\}$
recategorized by

1 Answer

4 votes
4 votes

any string with  |w|≥3 will give the complement   so choice A,C are out as they have only |w|>3}

and choice B does not contain λ

 hence choice D is the right ans

Answer:

Related questions

5 votes
5 votes
1 answer
4