Professional Documents
Culture Documents
Theory of Computaing
Theory of Computaing
Theory of Computaing
Q.2.Proof the equivalence of NFA and DFA ? Write an example , which proof the conversion NFA and
DFA ?
Ans : The equivalence of NFA and DFA :
https://www.neuraldump.net/2017/11/nfa-and-dfa-equivalence-theorem-proof-and-example/
https://www.cs.odu.edu/~toida/nerzic/390teched/regular/fa/proof-nfa-2-dfa.html
Q.3.Consider the F.A equivalent to the regular expression
(0+1)*(00+1)(0+1)*.
Ans :
Q.7.Explain with example Chomsky Normal Form and Greibach Normal forms ?
Ans :
Chomsky Normal Form :
https://www.tutorialspoint.com/automata_theory/chomsky_normal_form.htm
Greibach Normal Form :
https://www.tutorialspoint.com/automata_theory/greibach_normal_form.htm
Q.10.Design a DFA that accepting the following languages over alphabet {0,1} ?
Ans :
Q.11.The set of strings such that the number of 0’s is divisible by 5 , and the number of 1’s divisible by 3 ?
Ans :
Q.12.Define following :
Ans :
1.Pushdown Automata : https://www.geeksforgeeks.org/introduction-of-pushdown-automata/
2.Deterministic Pushdown Automata : https://www.javatpoint.com/non-deterministic-pushdown-automata
3.PDA corresponding to given CFG : https://www.zeepedia.com/read.php?
pda_corresponding_to_cfg_theory_of_automata&b=19&c=39
4.CFG corresponding to given PDA : https://www.javatpoint.com/automata-cfg-to-pda-conversion
Q.15.What is Pumping lemma and what is the closure property of regular set .Prove that regular sets are
closed under union , concatenation and Kleen closure ?n
Ans : https://www.geeksforgeeks.org/pumping-lemma-in-theory-of-computation/
http://www.coli.uni-saarland.de/projects/milca/courses/coal/html/node44.html
Q.16.Prove that any set L accepted by a finite automata M is represented by regular expression ?
Ans :
Q.20.Define following :
Ans :
1.NP Complete NP hard problems :
https://www.tutorialspoint.com/design_and_analysis_of_algorithms/design_and_analysis_of_algorithms_np_
hard_complete_classes.htm
2.Traveling salesman problem :
https://www.tutorialspoint.com/design_and_analysis_of_algorithms/design_and_analysis_of_algorithms_trav
elling_salesman_problem.htm
3.Partition Problem : https://www.geeksforgeeks.org/partition-problem-dp-18/
Q.21.Define following :
Ans :
1.Tractable and Untractable problem : http://www.cs.ucc.ie/~dgb/courses/toc/handout29.pdf
2.Recursive and Recurively enumerable language : https://www.geeksforgeeks.org/recursive-and-recursive-
enumerable-languages-in-toc/
3.Hamiltion path problem : https://www.geeksforgeeks.org/hamiltonian-cycle-backtracking-6/