560 views
0 votes
0 votes
  1. How many DFA with four states can be constructed over the alphabet ∑= {a, b} with designated initial state?

A. 416 * 24     B. 220     C. 216      D. 224

2 Answers

0 votes
0 votes
required no. of DFA = (2^n)* n^(k*n)

where n -> states and k-> input symbols

now, in this question, n=4 and k=2

total DFA = (2^4) * 4^(4*2) = 2^20

option B is correct.
0 votes
0 votes
2^20 must be the answer...as we designated initial state means we have fixed some state as initial state we cant change it...the possible dfas can be one with no final state..another with 2 final state other with 3 final state and last one with all states as final i.e 4 final states..as every state on a and b as transistion can go on any 4 states so for each state on a and b we have 4 possibilities similarly for other states same possibilities total possible ways are 4^8..as we can fill these 8 gaps with 4 choices we have..so 4^8....now as we need to find all possible final states in dfa...so no. of dfa with all possible final states will be 4C0+4C1+4C2+4C3+4C4=16...so 16*(4^8)..i.e 2^20 on solving..!

Related questions

1 votes
1 votes
1 answer
2
sripo asked Nov 6, 2018
3,028 views
What is the number of states for the above DFA,please draw NFA,DFA and minimised DFA for the same.Also won't the language not accept epsilon?
0 votes
0 votes
1 answer
4
M_Umair_Khan42900 asked Dec 29, 2022
781 views
Show that the following pairs of regular expressions define the same language over the alphabet I = [a, b].s(a) p(pp)*( A + p)q + q and p*q(b) A +0(0+1)* + (0+1)* 00(0+1)...