• edited by
11,175 views
11 11 votes

Minimum number of states required in DFA accepting binary strings not ending in $\text{“101”}$ is

  1. $3$
  2. $4$
  3. $5$
  4. $6$

5 Answers

Best answer
12 12 votes

Answer :- B

First make DFA which recognizes binary strings ending with 101, then complement it (make non-final states as final states and vice-versa) 

final answer you will get is this .

• edited by
4 4 votes
Option B is the correct.

First, try to make DFA for string ending in "101" after that make accepting states Non-Accepting states and vice-versa.

Your problem is solved.
0 0 votes
Since FOUR state are required to accept the string 101 ,so the complement of the DFA that accept string not ending 101 will have minimum FOUR states.
0 0 votes
Answer-B 4, First make a DFA which accepts a string ending with "101" . After that compliment the DFA.
Note: You can compliment the DFA by making non final states as final and final states as non final.
Answer:
Position:
Show:

Related questions

3 3 votes
3 3 answers
4.9k
4.9k views
Satbir asked Jan 13, 2020
4,942 views
Which of the following classes of languages can validate an $\text{IPv4}$ address in dotted decimal format? It is to be ensured that the decimal values lie between $0$ an...
4 4 votes
4 4 answers
3.7k
3.7k views
Satbir asked Jan 13, 2020
3,688 views
The language which is generated by the grammar $S \rightarrow aSa \mid bSb \mid a \mid b$ over the alphabet of $\{a,b\}$ is the set ofStrings that begin and end with the ...
7 7 votes
3 3 answers
7.3k
7.3k views
Satbir asked Jan 13, 2020
7,322 views
The following circuit compares two $2$-bit binary numbers, $X$ and $Y$ represented by $X_1X_0$ and $Y_1Y_0$ respectively. ($X_0$ and $Y_0$ represent Least Significant Bit...
4 4 votes
2 2 answers
4.4k
4.4k views
Satbir asked Jan 13, 2020
4,387 views
For the distributions given below:Which of the following is correct for the above distributions?Standard deviation of $A$ is significantly lower than standard deviation o...