Theory of Computation (TOC) SPPU Endsem Question Paper Nov 2025
All 8 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Subject code
- 314441
- Pattern
- 2019 pattern
- Exam
- Endsem
- Session
- Nov 2025
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- V
- Paper code
- [6583]-127
Printed for: T.E. (Information Technology)
Instructions to the candidates
- Attempt Q.1 or Q.2, Q.3. or Q.4, Q.5 or Q.6, and Q.7 or Q.8.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right side indicate full marks.
- Assume suitable data if necessary.
Questions
Q1
- a)[6]
Write a formal definition of a Regular Grammar? Explain Chomsky Hierarchy of Grammar.
Also asked:May 2025
- 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.
OR- a)
Q2
- 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]
Write a short note on the Pumping Lemma for Context Free Language.
- a)
Q3
- 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]
Define the following terms with example. i) Pushdown Automata ii) Post Machine 3
OR- a)
Q4
- a)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[6]
Design a Post Machine which accepts the string with an equal number of a’s and b’s.
- c)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- a)
Q5
- a)[6]
Construct a Turing Machine (TM) for checking if a set of parenthesis are well formed.
- b)[6]
Write a short note on : i) Church-Turing thesis ii) Multi-tape TM
- c)[5]
Explain the power of Turing Machine over Push Down Automata.
Also asked:May 2025
OR- a)
Q6
- 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)[5]
- a)
Q7
- a)[6]
- b)[6]
Let HALT TM ={where M is a TM and M halts on input w}. Prove that HALT TM is undecidable.
- c)[5]
Define the following. i) NP Hard Problem ii) NP Complete Problem 4
ORQ8
- a)[6]
Prove that A DFA is a decidable language. A DFA ={ | B is a DFA that accepts input string w}.
- b)[6]
Write a short note on Normal Forms of Boolean Expressions.
- c)[5]
This part has equations that don’t show as text. Open the PDF to read it.
- a)