566 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

0 votes
0 votes
0 answers
2
paressep28 asked 5 days ago
56 views
How is "All strings {0,1} of length five or more in which the third symbol from the right end is different from the leftmost symbol" solved? Answer Follow·1 Request ...
1 votes
1 votes
1 answer
3
sripo asked Nov 6, 2018
3,058 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?