Theory of Computation 2071
Attempt
all the questions.
Group
A
(8x4=32)
AI is thinking...
1. Explain the extended transition function of NFA.
AI is thinking...
2. Construct a DFA that accepts all the strings of alphabet {a, b} having each strings with even number of 0’s and even number of 1’s.
Answered by Hunter
AI is thinking...
3. How can you convert an ɛ-NFA into equivalent DFA? Explain.
AI is thinking...
4. What are the regular operators applied to the regular languages? Explain with example.
AI is thinking...
5. Simplify the following regular expressions.
a.)
1*+1*0(ɛ+0+1)*ø
b.)
ɛ+0+1+( ɛ+0+1)( ɛ+0+1)*( ɛ+0+1)
AI is thinking...
6. what do you mean by a CNF grammar? Convert the following grammar into CNF.
S→abSb | aa
AI is thinking...
7. what are unrestricted grammar? How they differ with CFG? Explain.
AI is thinking...
8. Define the term Class P and Class NP with example.
AI is thinking...
Group
B
(6x8=48)
AI is thinking...
9. What are the algebraic rules for regular expressions? Also show that if L, M, N are any regular language then show that L(M U N) = L.M U L.N.
AI is thinking...
10. Prove that for any given NFA N accepting a language L there exists a DFA D such that L(N) = L(D).
AI is thinking...
11. Define regular grammar. Show with suitable example that the language described by regular grammar are accepted by a finite automata.
AI is thinking...
12. What do you mean by the Chomsky Hierarchy in the formal language theory? Explain in detail.
AI is thinking...
13. Construct a PDA that accepts a language of palindrome of even length from an alphabet {a,b}.
AI is thinking...
14. Show that a Turing Machine with one tape and a Turing Machine with multiple tape are equivalent.
AI is thinking...