• retagged by
24,429 views
46 46 votes
The number of states in the minimum sized DFA that accepts the language defined by the regular expression.

$(0+1)^{*} (0+1) (0+1)^{*}$

is ________.

5 Answers

Best answer
114 114 votes

All strings over $\{0,1\}$ having length $\geq 1$

$(0+1)^*(0+1)(0+1)^* = (0+1)(0+1)^*=(0+1)^*(0+1)= (0+1)^+$

Having DFA:

Number of states in minimal DFA $=2$.

• edited by
3 3 votes

The regular expression generates the min string “0” or “1” and then any number of 0’s and 1’s .
So, the DFA has two states.

1 1 vote
The given regular expression is  (0+1)*(0+1) (0+1)*

After applying R*. R*=R* it becomes (0+1)(0+1)*

in (0+1)(0+1)* there is atleast one appearance of (0+1) hence we can write it as (0+1)^+

A={0,1,00,01,10,11,000,001,011,........} if draw DFA we need atleast 2 states so the answer is 2.
Answer:
Position:
Show:

Related questions

113 113 votes
8 answers 8 answers
46.1k
46.1k views
Akash Kanase asked Feb 12, 2016
46,139 views
Consider the following two statements:If all states of an NFA are accepting states then the language accepted by the NFA is $\Sigma_{}^{*}$.There exists a regular languag...
47 47 votes
6 answers 6 answers
24.0k
24.0k views
go_editor asked Feb 13, 2015
23,969 views
The number of states in the minimal deterministic finite automaton corresponding to the regular expression $(0+1)^* (10)$ is _____.
141 141 votes
15 answers 15 answers
40.3k
40.3k views
Akash Kanase asked Feb 12, 2016
40,251 views
Suppose the functions $F$ and $G$ can be computed in $5$ and $3$ nanoseconds by functional units $U_{F}$ and $U_{G}$, respectively. Given two instances of $U_{F}$ and two...
36 36 votes
2 answers 2 answers
14.4k
14.4k views
Akash Kanase asked Feb 12, 2016
14,364 views
Consider the following processes, with the arrival time and the length of the CPU burst given in milliseconds. The scheduling algorithm used is preemptive shortest remain...