Theory of Computation (TOC) SPPU Insem Question Paper Aug 2025
All 4 questions from this SPPU insem paper, as printed. Read them here or open the PDF.
- Subject code
- 310242
- Pattern
- 2019 pattern
- Exam
- Insem
- Session
- Aug 2025
- Max. marks
- 30
- Time
- 1 Hour
- Semester
- I
- Paper code
- [6579]-326
Printed for: T.E. (Computer Engineering)/(Computer Science) (Insem)
Instructions to the candidates
- Attempt Q.1 or Q.2, Q.3 or Q.4.
- Neat diagram must be drawn wherever necessary.
- 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)[7]
Consider the following Mealy Machine of Construct equivalent Moore machine. Also differentiate between Moore and Mealy machine (any 4 points).
OR- a)
Q2
- a)[8]
Design Moore machine such that for every substring that ends in bab the machine will give output 1 over alphabet Further convert the same Moore machine into Mealy machine.
- b)[7]
Design a DFA which can accept a binary number divisible by 3. Explain the logic also. 2
Also asked:Oct 2024
- a)
Q3
- a)[6]
Write a regular expression to accept following language over alphabet {a,b} * i) Strings having at least one occurrence of substring ‘aaa’. ii) Strings starting and ending with same symbol. iii) Strings having even number of a’ s.
- b)[5]
Using Arden’s theorem, find regular expression.
- c)[4]
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)[5]
This part has equations that don’t show as text. Open the PDF to read it.
- c)[4]
This part has equations that don’t show as text. Open the PDF to read it.
- a)