2,849 views
0 votes
0 votes

I solved both of these qs in a traditional way,by drawing nfa and then convert them to dfa..by tthis process ans shoulbe 4 and 2..but both of them are wrong..pls check..

1 Answer

Best answer
5 votes
5 votes

I. $(0+1)^*1$, all strings ending with $1$, need only $2$ states 

II. $0+1)*10(0+1)^*$, all strings contain substring $10$, need $3$ states, and they are asking about final state, that is only 1. 

[Note:
1. all strings ending with $n$ length string or all string contain $n$ length substring, will always $n+1$ states in minimal DFA.
2. After conversion from NFA to DFA, there are maximum probability of minimization, always look after it.]

selected by

Related questions

3 votes
3 votes
1 answer
2
Nishisahu asked Oct 8, 2021
365 views
A FA accepting language L(A) has n states and m transition. ∑ = {a, b}L(A) is given asL(A)={ x | if x ∊ L(A) then u ∊ L(A) for $∃u, v ∊ ∑^{*}$ where x=uv }Fin...
3 votes
3 votes
1 answer
3