recategorized by
483 views
1 votes
1 votes

Consider the following regular expression over the alphabet $\Sigma = \{0, 1\}$
$$\text{RE} =\Sigma ^* 1 \Sigma^* $$
The complement of the language generated by given $\text{RE}$ is

  1. $L= \{ w \mid w \text{ contains substring 1 }$
  2. $L=\{ w \mid w \text{ contains at least 1 }$
  3. $L=\{ w \mid w \text{ does not contain substring 1 }$
  4. $L=\{ w \mid w \text{ contains exactly 1}$
recategorized by

1 Answer

0 votes
0 votes
Given $\Sigma=\{0, 1\} \: \: \: \text{substitute } \Sigma = \{0, 1\}$
$\text{RE}$ is $(0+1)* 1(0+1)*$
$\text{DFA}$ that accepts $1$ generated by $\text{RE}$ is
Applied Course 2019 Mock1-14
Accepts all strings of $0$'s including $\epsilon$
$\{ \epsilon, 0, 00, 000, \dots \}$
Answer:

Related questions

1 votes
1 votes
1 answer
1
1 votes
1 votes
1 answer
2
1 votes
1 votes
1 answer
4