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
- 314441
- Pattern
- 2019 pattern
- Exam
- Endsem
- Session
- May 2024
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- I
- Paper code
- [6262]-121
Printed for: T.E.(Information Technology Engineering)
Instructions to the candidates
- Answer Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right side indicate marks.
- Assume suitable data, if necessary.
Questions
Q1
- a)[4]
What is an ambiguous grammar? Explain with a suitable example.
- b)[5]
What is Regular Grammar? Explain types of regular grammar.
Also asked:Nov 2022
- c)[9]
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]
Explain any three closure properties of Context Free language.
Also asked:May 2025
- a)
Q3
- a)[6]
Define Push down Automata. Explain different types of PDA. Explain. any two applications of PDA.
- b)[5]
Write a note on Instantaneous Description of PDA with an example 2
- c)[6]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q4
- a)[4]
Compare Finite Automata and Pushdown Automata.
Also asked:Nov 2022
- b)[7]
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)[6]
- b)[3]
Explain Church Turing hypothesis.
- c)[9]
Define Turing machine and design a right shifting TM over alphabet {0,1} with an example.
ORQ6
- a)[10]
Construct a Turing Machine to replace string ‘110’ by ‘101’ in a binary input string. Write down transition table along with diagram.
- b)[8]
Discuss the following terms i) Post Correspondence Problem ii) Halting Problem of Turing Machine
- a)
Q7
- a)[8]
What do you mean by NP problems? Justify why the Travelling Salesman problem is a NP problem.
- b)[9]
Define decidability of problem with suitable example. Describe un- decidable problems for context-free Grammar.
OR- a)
Q8
- a)[9]
Write short note on : i) A Simple Un-decidable problem ii) Measuring Complexity
- b)[8]
This part has equations that don’t show as text. Open the PDF to read it.
- a)