9. Construct minimal NFA that all accepts all strings of {a,b} which contains atmost 2 a’s.
9. Construct minimal NFA that all accepts all strings of {a,b} which contains atmost 2 a’s.
3. Construct minimal NFA that all accepts all strings of {a,b} which contains aa or bb as substring.
19. Construct minimal NFA that all accepts all strings of {a,b} and L={ambn|m,n>0} Corrected question : 19. Construct minimal FA that all accepts all strings of {a,b} and L={a^mb^n|m,n>0}
For ∑ = {a, b}, construct a dfa that accepts the set consisting of all strings with at least one b and exactly two a’s
2. a. Draw a NFA that accepts all strings over Σ = {?, ?} that either end in ?? or contain the substring ??. b. Then convert the NFA in the previous exercise to a DFA
construct an finite automata that accepts all strings of {a,b} that contains either ab or bba, or both as substrings. give a regular expression as well.
Construct a Turing machine with input alphabet {?, ?}, which accepts strings with the same number of a’s and b’s.
thank you
Design an NFA over the alphabet <={0,1,2,3,4,5,6,7,8,9} such that it accepts strings which correspond to a number divisible by 3. Hint: String can be of any length. Look up the rule for divisibility by 3 if you need. Give the formal definition of the automaton and draw its transition diagram.
2. Construct a NFA for the language over Σ-{a,b,c} that contains all words whose symbols are in alphabetical order.
2. Construct a NFA for the language over Σ-{a,b,c} that contains all words whose symbols are in alphabetical order.
For ∑ = {a, b}, construct a dfa that accepts the set consisting of all strings with exactly one a
Give a DFA/NFA to recognize L = { w | w contains exactly 2 a’s, 3 b’s and no c’s. Σ = {a,b,c} }