TOC QB Unit1 FA
TOC QB Unit1 FA
UNIT-I
Finite Automata
3. Design DFA accepting the language over the alphabet 0,1 that have the set of
all strings with 011 as a substring. 4M
4. Design DFA accepting the language over the alphabet 0,1 that have the set of
all strings whose 3rd symbol from the right end is 1. 4M
5. Design DFA accepting the language over the alphabet 0,1 that have the set of
all strings that either begins or end (or both) with 01. 5M
6. Design DFA which accepts binary number divisible by 3. 5M
7. Design DFA over 0,1 that: 6M
a. Ending with 10
b. Ending with 11
c. Ending with 1
8. Design DFA for set of strings over {a,b} in which there are at least two
occurrences of b between any two occurrences of a. 6M
9. Design DFA for set of strings over {0,1} not ending with 010. 4M
10. Design a DFA that reads strings made up of letters in the word ‘CHARIOT’ and
recognizes these strings that contain the word ‘CAT’ as a substring. 5M
11. Design a DFA for set of all strings over {a,b} ending in either ab or ba. 4M
12. Construct NFA and DFA for the following Languages 12M
i. L = {x Є{a,b,c}* : x contains exactly one b immediately following c}
ii. L = {x Є {0,1} *: x is starting with 1 and |x|is divisible by 3}
iii. L = {x Є{a,b}* : x contains any number of a’s followed by at least one b}
13. Construct a NFA that accept the set of strings in (0+1) * such that some two 0’s is
separated by string whose length is 4i, for some i>=0. 5M
14. The transition table of a NFA ‘M’ is given below. Construct a DFA equivalent to ‘M’. δ
is 6M
State/input
A B C
➔ p {q} {p}
q {r} {q}
*r {r}
17. Consider the following ε–NFA. Compute the ε–closure of each state and
find it’s equivalent DFA. (direct method) 6M
a b c
p {p} {q}
q {p} {q} {r}
*r {q} {r} {p}
23. Convert the following Moore machine into its equivalent Mealy machine. 4M
24. Convert the following Mealy machine into equivalent Moore machine. 5M
25. Convert the following Mealy machine into equivalent Moore machine. 5M