CSC262 · TU past paper
Theory of Computation 2078 question paper
The complete TU 2078 exam paper for Theory of Computation (CSC262), all 12 questions with solved model answers written to the mark scheme.
Tap a question to open its answer.
- Q1.10 marksMethod for reduction of NFA to DFAHideAnswer
Give the formal definition of DFA and NFA. How NFA can be converted into equivalent DFA? Explain with suitable example.[10]
- Q2.10 marksNumericalMinimization of Finite State MachinesHideAnswer
Find the minimum state DFA for the given DFA below:
States 0 1 A B F B E C C B D *D E F E B C F B A [10]
- Q3.10 marksEncoding of Turing MachineHideAnswer
Construct a Turing Machine that accepts the language of odd length strings over alphabet {a, b}. Give the complete encoding for this TM as well as its input string w = abb in binary alphabet that is recognized by Universal Turing Machine.[10]
- Q4.5 marksAlphabetsHideAnswer
Define the term alphabet, prefix and suffix of string, concatenation and Kleen closure with example. [5]
- Q5.5 marksRegular ExpressionsHideAnswer
Give the regular expressions for the following language over alphabet {a, b}. a. Set of all strings with substring bab or abb. b. Set of all strings whose 3rd symbol is 'a' and 5th symbol is 'b'. [5]
- Q6.5 marksApplication of Pumping LemmaHideAnswer
Show that L = {ana^nan | n is a prime number} is not a regular language. [5]
- Q7.5 marksChomsky HierarchyHideAnswer
Explain about the Chomsky's Hierarchy about the language and programs. [5]
- Q8.5 marksConstruction of PDA by Final StateHideAnswer
Define a Push Down Automata. Construct a PDA that accepts $L = {a^n b^n \mid n > 0}$. [5]
- Q9.5 marksChomsky Normal FormHideAnswer
Construct the following grammar into Chomsky Normal Form. S→abSb∣a∣aAbS \rightarrow abSb \mid a \mid aAbS→abSb∣a∣aAbA→bS∣aAAb∣εA \rightarrow bS \mid aAAb \mid \varepsilonA→bS∣aAAb∣ε[5]
- Q10.5 marksIntroduction to Turing MachinesHideAnswer
Define Turing Machine and explain its different variations. [5]
- Q11.5 marksTime and Space complexity of A Turing MachHideAnswer
What do you mean by computational Complexity? Explain about the time and space complexity of a Turing machine. [5]
- Q12.5 marksIntractabilityHideAnswer
Explain the term Intractability. Is SAT problem is intractable? Justify [5]