GTU · BE Computer · Semester 6

GTU 3160704 Theory of Computation (TOC) Old Question Papers PDF

Official Gujarat Technological University (GTU) old question papers PDF (Regular & Remedial) and step-by-step solved questions for Theory of Computation (TOC) across 2023 – 2026 examinations.

7 papers, 2023 – 202670 marks23 to pass2.5 hours
34 questions GTU asked more than onceAsked in all 7 papers: Given the context-free grammar G, find a CFG G’ in Chomsky Normal Form. G : S → aAa | bBb | ^ A → aBb | bBa B → aB | bB | ^See list

Exam papers

Most repeated questions

34 questions GTU set in two or more of 7 papers, most repeated first. Tap a year to open that paper at the question.

  1. Given the context-free grammar G, find a CFG G’ in Chomsky Normal Form. G : S → aAa | bBb | ^ A → aBb | bBa B → aB | bB | ^

    7 marksSame type asked in 7 of 7 papers

    Summer 2026 Q3c OR Winter 2025 Q5c OR Summer 2025 Q3c OR Winter 2024 Q4c OR Summer 2024 Q3c OR Winter 2023 Q4c OR Summer 2023 Q3c

  2. Find context-free grammar for the following language :

    7 marksSame type asked in 5 of 7 papers

    Summer 2026 Q3c Winter 2025 Q2b Summer 2025 Q3c Summer 2025 Q3b OR Winter 2024 Q4a Winter 2023 Q3a

  3. Define - Pushdown Automaton and acceptance by a PDA

    4 marksAsked in 5 of 7 papers

    Winter 2025 Q4b OR Summer 2025 Q2a Winter 2024 Q3a Winter 2023 Q4a OR Summer 2023 Q4a

  4. What is decidability? How to prove that the given language is undecidable? List some undecidable problems.

    7 marksAsked in 4 of 7 papers

    Winter 2025 Q3c OR Winter 2024 Q5a Summer 2024 Q5a Summer 2023 Q5a

  5. Convert the given regular expression to its equivalent NFA-λ. 𝑟 = 1 + (101)∗ 0 + 01 (01)∗ + 11(101)∗ + 00(11)∗

    7 marksSame type asked in 4 of 7 papers

    Summer 2025 Q2c OR Summer 2024 Q2c OR Winter 2023 Q4b OR Summer 2023 Q3a

  6. Check whether the grammar is ambiguous or not ? i. G : S → A | B ii. G : S →aSb | aaSb | ^ A → aAb | ab B → bB | ^

    4 marksSame type asked in 4 of 7 papers

    Summer 2026 Q3b OR Winter 2025 Q5a OR Winter 2024 Q2c OR Winter 2023 Q3a OR

  7. Discuss pumping lemma for context-free languages.

    3 marksAsked in 4 of 7 papers

    Winter 2025 Q4a Summer 2025 Q4a Winter 2023 Q4a Summer 2023 Q3b

  8. Find a regular expression corresponding to each of the following subsets of {0, 1}*. i. The language of all strings that begin or end with 00 or 11. ii. The language of all strings in which every 0 is followed immediately by 11.

    3 marksSame type asked in 4 of 7 papers

    Summer 2026 Q2a Winter 2025 Q3a Winter 2024 Q1b Winter 2023 Q2b

  9. Construct a Finite Automata that accepts all strings over {0,1}∗ NOT containing the sub-string 101.

    3 marksSame type asked in 4 of 7 papers

    Summer 2025 Q3a Winter 2024 Q1c Summer 2024 Q3a OR Winter 2023 Q2c

  10. Design a Turing Machine that accepts the language of palindromes over {a, b}.

    7 marksAsked in 3 of 7 papers

    Summer 2026 Q5c OR Winter 2025 Q4c Winter 2023 Q5c

Show 24 more repeated questionsHide the 24 more
  1. Use minimization algorithm to find a minimum-state FA.

    7 marksSame type asked in 3 of 7 papers

    Summer 2026 Q2c Winter 2025 Q3c Winter 2023 Q3c OR

  2. Using the subset construction method, convert the following NFA into its equivalent DFA accepting the same language.

    7 marksSame type asked in 3 of 7 papers

    Winter 2025 Q2c Winter 2025 Q2c OR Summer 2025 Q2c Summer 2023 Q2c OR

  3. Convert following NFA-^ to an NFA.

    7 marksSame type asked in 3 of 7 papers

    Summer 2026 Q2c OR Summer 2024 Q2c Winter 2023 Q3c

  4. Design PDA for the language which accepts balanced strings of brackets { } and [ ].

    7 marksSame type asked in 3 of 7 papers

    Summer 2026 Q4c Winter 2024 Q3c Winter 2023 Q5b Winter 2023 Q5b OR

  5. i. Using the principle of Mathematical Induction, Prove that for every n ≥ 1, ii. In following case, a relation on the set {1, 2, 3} is given. Of the three properties, reflexivity, symmetry, and transitivity, determine which ones the relation has. Give reasons. R ={ (1, 1), (2, 2), (3, 3), (1, 2) }

    7 marksSame type asked in 3 of 7 papers

    Summer 2026 Q1c Winter 2025 Q1c Winter 2023 Q1c

  6. Describe recursively enumerable languages and recursive languages.

    4 marksAsked in 3 of 7 papers

    Winter 2025 Q3b OR Winter 2024 Q5a OR Summer 2023 Q5a OR

  7. Show that L = {ww | w ∈ {0, 1}*} is not context free language.

    4 marksSame type asked in 3 of 7 papers

    Summer 2026 Q4b OR Winter 2025 Q4a OR Summer 2024 Q3b OR

  8. Define Bounded Minimalization.

    3 marksAsked in 3 of 7 papers

    Summer 2026 Q4a OR Winter 2025 Q5a Summer 2023 Q5c

  9. Let M1 and M3 be the FAs shown in below figure, recognizing languages L1 and L3 respectively. Draw FAs recognizing the language L1 ∩ L3.

    3 marksSame type asked in 3 of 7 papers

    Summer 2026 Q3a Winter 2025 Q3b Winter 2023 Q2c OR

  10. Construct a Turing machine to accept the strings 𝑥. 𝑥𝑟𝑒𝑣

    7 marksAsked in 2 of 7 papers

    Summer 2025 Q4c OR Summer 2024 Q4c OR

  11. Apply the rules and step by step create a Turing Machine to accept 𝐿 = {𝑎𝑛𝑏𝑛}

    7 marksAsked in 2 of 7 papers

    Summer 2024 Q4c Summer 2023 Q5b

  12. Design PDA to accept L = { x ∈ {a, b}* | na(x) > nb(x)}.

    7 marksAsked in 2 of 7 papers

    Summer 2026 Q4c OR Winter 2025 Q5c

  13. Explain the importance of distinguishable strings and equivalent classes’ w.r.t. regular languages.

    7 marksAsked in 2 of 7 papers

    Summer 2025 Q1c Summer 2023 Q1c

  14. Write short note on Universal Turing Machine.

    4 marksAsked in 2 of 7 papers

    Summer 2026 Q5b Winter 2023 Q5a

  15. Convert the following mealy machine into moore machine.

    4 marksSame type asked in 2 of 7 papers

    Summer 2026 Q2b Winter 2025 Q2a

  16. Construct the equivalent PDA for the following CFG : S → XaY | YbX X → YY | aY | b Y → b | bb

    4 marksSame type asked in 2 of 7 papers

    Summer 2026 Q4b Winter 2023 Q4b

  17. Define - Equivalence relation. Let A = {0, 1, 2, 3} and a relation R on A is defined as R = {(0, 0), (0,

    4 marksSame type asked in 2 of 7 papers

    Winter 2025 Q1b Winter 2023 Q1b

  18. Discuss primitive recursive functions with the help of a suitable example.

    4 marksAsked in 2 of 7 papers

    Winter 2025 Q5b Summer 2024 Q5c

  19. Write short note on Church-Turing Thesis.

    4 marksAsked in 2 of 7 papers

    Summer 2026 Q5b OR Summer 2025 Q5c OR

  20. Discuss the Chomsky hierarchy.

    4 marksAsked in 2 of 7 papers

    Summer 2025 Q5b Winter 2023 Q5a OR

  21. Compare Deterministic PDA and Non deterministic PDA.

    4 marksAsked in 2 of 7 papers

    Winter 2024 Q3b OR Summer 2023 Q4a OR

  22. What is chomsky normal form? Explain with an example

    4 marksAsked in 2 of 7 papers

    Winter 2024 Q4b Summer 2024 Q2a

  23. Discuss μ-recursive functions.

    3 marksAsked in 2 of 7 papers

    Winter 2025 Q3a OR Summer 2023 Q5c OR

  24. Define ε-closure(q) with an example.

    3 marksSame type asked in 2 of 7 papers

    Winter 2024 Q2a Summer 2023 Q3a OR

Which branches take this subject

GTU's syllabus lists 3160704 for 2 branches. One set of papers serves all of them.

Semester 6: 2 branches

Computer Engineering, Computer Science & Engineering

Other Semester 6 subjects

Common questions

Are these GTU 3160704 Theory of Computation papers valid for both Regular and Remedial exams?

Yes. Gujarat Technological University (GTU) follows the same 70-mark syllabus, exam blueprint, and 23-mark passing cutoff for both Regular and Remedial (ATKT/backlog) examinations. All 7 past exam sessions (2023 – 2026) serve as comprehensive preparation for either attempt.

How can I download GTU 3160704 Theory of Computation old question papers PDF?

You can download official GTU 3160704 original question paper PDFs directly from the table above with 1 click and zero deceptive ads or wait timers. Every paper also includes interactive online questions with AI study prompts.

What is the passing mark for GTU Theory of Computation (3160704)?

The external theory exam carries 70 marks. The minimum passing cutoff is 23 marks (33%). Exam duration is 2.5 hours.

What is the GTU exam pattern for 3160704?

The examination contains 5 main questions of 14 marks each, totaling 70 marks. Questions 2 through 5 provide internal OR choices, typically split into 3-mark, 4-mark, and 7-mark questions.