Question Bank1-1
Question Bank1-1
1 Explain the following with examples i) String ii) Language iii) Alphabet iv) Symbol.
4. Consider the following NFA with €- moves construct equivalent DFA. Refer the fig below.
5. Construct an equivalent DFA from the following given NFA using subset construction method.
Refer below
6. Design a deterministic which accept a string containing “the” anywhere in a string of {a-z}, e.g.,
“there” but not “those”.
7.Differentiate between Compiler and Interpreter. Explain all the advantages of Compiler Technology.
8.Demonstrate the various phases of a compiler and show the output of each phase for the
expression position=initial +rate*60.
10. Write regular expressions for the following languages. The set of all strings in which every pair of
adjacent 0’s appear before any pair of adjacent 1’s.
11.Explain Finite automata and give applications of Finite Automata.
12.Infer a DFA to accept strings of a’s and b’s having a sub string aa.
13. Design a DFA to accept L = {w ε {0, 1} *| w contains a substring of two 1’s separated by an odd
number of characters}.
14.Construct the minimized DFA for the following DFA, Reduce it to simpler form.
15. Construct an equivalent DFA from the following NFA using subset construction method.
16. Convert the following Epsilon - NFA to DFA using ECLOSURE method.
17. Write the differences between Compiler and Interpreter. Explain all the advantages of Compiler
Technology.
18. Explain the various phases of a compiler and show the output of each phase for the expression
position=initial +rate*60.
ii) language starting with ‘a’ but not having consecutive b's.