Theory of Computation (TOC) SPPU Endsem Question Paper Nov 2023
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
- Nov 2023
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- I
- Paper code
- [6180]-46
Printed for: T.E. (Computer 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 full marks.
- Assume suitable data, if necessary.
Questions
Q1
- a)[9]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[8]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q2
- a)[9]
S aB|bA A a|aS|bAA B b|bS|aBB Derive using Leftmost Derivation and Rightmost Derivation: i) bbaaba ii) aaabbb. Draw parse tree for the same. 2
- b)[8]
This part has equations that don’t show as text. Open the PDF to read it.
- a)
Q3
- a)[10]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[8]
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)[6]
Design a Turing machine for well formed parenthesis.
- b)[8]
Design a TM that accepts all strings over {1,0} with even number of 0 ’ s and even number of 1 ’ s.
- c)[4]
Construct TM that recognizes language over alphabet 0,1 such that string ends in 10. 3
OR- a)
Q6
- a)[6]
Construct a TM to accept the language over {0,1} containing the substring 001.
- b)[8]
This part has equations that don’t show as text. Open the PDF to read it.
- c)[4]
Design Turing Machine for l ’ s Complement.
- a)
Q7
- a)[8]
What is post correspondence problem? Explain PCP with following instance of the set of the strings A and B.
- b)[9]
State and explain with suitable example i) Decidable Problem ii) Undecidable Problem iii) Church-Turing Thesis.
OR- a)
Q8
- a)[8]
What is reducibility in Computability Theory ? Explain in detail, the polynomial - time reduction approach for proving that a problem is NP- Complete.
- b)[9]
Explain with suitable example and diagrams i) Halting problem of TM ii) Multitape TM iii) Universal TM
- a)