Theory of Computation (TOC) SPPU Endsem Question Paper May 2024
All 8 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Subject code
- 310242
- Pattern
- 2019 pattern
- Exam
- Endsem
- Session
- May 2024
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- I
- Paper code
- [6262]-36
Printed for: T.E. (Computer Engineering)
Instructions to the candidates
- Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right indicates full marks.
- Assume suitable data, if necessary.
Questions
Q1
- a)[8]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[10]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q2
- a)[12]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- a)
Q3
- a)[8]
What is pushdown automata? Define PDA pictorially and mathematically with respect to input tape, stack, finite control and Instanteous description. Design a PDA for accepting a language {a n b 2n |n>=1}
- b)[10]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q4
- a)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- c)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- a)
Q5
- a)[4]
Elaborate the following terms with proper examples i) Universal Turing Machine (UTM) ii) Recursively Enumerable Languages
Also asked:May 2023
- b)[7]
Design a TM that multiplies two unary numbers over = {1}. Write simulation for the string 11*111.
- c)[6]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q6
- a)[5]
Construct a TM for substraction of two unary numbers f(a-b) = c where a is always greater than b.
- b)[12]
What is undecidability? How do we prove universal language is undecidable? What is the relation between undecidability and reducibility theory. 4
- a)
Q7
- a)[7]
What do you mean by polynomial time reduction? Explain with an example of SAT.
Also asked:May 2023
- b)[10]
Explain the following terms with respect to computations complexity with example. i) Solvable Vs Unsolvable problem ii) Decidable Vs. Undecidable problem iii) P Vs NP problem
OR- a)
Q8
- a)[6]
Explain in brief the term “recursively enumerable”.
- b)[6]
Explain examples of problems in NP.
- c)[5]
Differentiate between P class and NP class.
- a)