βˆ‘GateAndNet
PlannerSign Up
πŸ”„GATE CSWeightage: 8–9 Marks3 Study Chapters11 Solved PYQs

Theory of Computation

Regular languages, DFA/NFA, Pumping Lemma, CFGs, Pushdown Automata, Turing Machines & Undecidability.

Practice Unit PYQs (11)All GATE CS Units
Official Syllabus Micro-Topics
Regular Expressions, DFA, NFA, Epsilon-NFA, Subset Construction & Myhill-Nerode Minimal DFAPumping Lemma for Regular Languages & Closure Properties of Regular SetsContext-Free Grammars (CFG), Ambiguity, Chomsky & Greibach Normal Forms (CNF/GNF)Pushdown Automata (DPDA vs NPDA), DCFL vs CFL Closure PropertiesChomsky Hierarchy of Formal Languages (Type 0, Type 1, Type 2, Type 3)Turing Machines, Church-Turing Thesis, Recursive (REC) vs Recursively Enumerable (RE) LanguagesUndecidability, Halting Problem, Rice’s Theorem & Many-One Reductions

Published Study Notes & Chapters (3)

Ch 1 High Yield 4 min read 4 PYQs

Formal Languages Closure Properties & Decidability Master Matrix

One-stop matrix for Regular, DCFL, CFL, CSL, Recursive, and RE closure + Rice’s Theorem undecidability shortcuts.

Read Chapter
Ch 2 High Yield 4 min read 5 PYQs

Minimal DFA Construction, Pumping Lemma, CFGs & Pushdown Automata

Exact state counts for common minimal DFAs, Myhill-Nerode theorem, Pumping Lemma traps, Chomsky Normal Form derivation steps (2n - 1), and DPDA vs NPDA expressive power.

Read Chapter
Ch 3 High Yield 4 min read 2 PYQs

TOC 2027 Rank-Decider: Myhill-Nerode Minimal DFA Proofs, Inherent Ambiguity & Reductions

Computing exact minimal DFA state counts via Myhill-Nerode distinguishing extensions, Deterministic vs Nondeterministic CFL traps, inherently ambiguous languages, and RE vs co-RE reductions.

Read Chapter

Solved Theory of Computation PYQs & Practice Questions

Launch Timed Mock (11 Qs)
Q1GATE CS 2023 MSQTheory of ComputationMSQHARD
+2M β€’ 0 Neg

Which of the following decision problems about Turing Machines and Formal Languages are DECIDABLE?

β˜‘οΈ Multiple Select Question β€” pick one or more options, then click Check Answer.
Q2GATE CS TOCTheory of ComputationMCQMEDIUM
+2M β€’ -0.67

By Rice’s Theorem, which of the following problems about an arbitrary Turing Machine MM is DECIDABLE?

⚑ Click an option above to verify instantly
Q3GATE CS TOCTheory of ComputationMCQEASY
+1M β€’ -0.33

Context-Free Languages (CFLs) are CLOSED under which of the following set of operations?

⚑ Click an option above to verify instantly
Q4GATE CS MSQTheory of ComputationMSQHARD
+2M β€’ 0 Neg

Let L1L_1 be a Regular language, L2L_2 be a Deterministic Context-Free Language (DCFL), and L3L_3 be a Recursively Enumerable (RE) language. Which of the following statements are ALWAYS TRUE?

β˜‘οΈ Multiple Select Question β€” pick one or more options, then click Check Answer.
Q5GATE CS 2018Theory of ComputationNATMEDIUM
+2M β€’ 0 Neg

Over Ξ£={a,b}\Sigma = \{a, b\}, what is the minimum number of states in a complete DFA accepting all strings whose 3rd symbol from the right (end) is a (L=Ξ£βˆ—aΣΣL = \Sigma^* a \Sigma \Sigma)?

Q6GATE CS 2024 Set-1Theory of ComputationNATMEDIUM
+2M β€’ 0 Neg

Over Ξ£={0,1}\Sigma = \{0, 1\}, what is the minimum number of states in a DFA that accepts all binary strings whose decimal value (MSB first, empty string =0= 0) is divisible by 55?

Q7UGC NET / GATE TOCTheory of ComputationMCQEASY
+1M β€’ -0.33

If a Context-Free Grammar GG is in Chomsky Normal Form (CNF), how many derivation steps are required to derive a terminal string ww of length ∣w∣=12|w| = 12?

⚑ Click an option above to verify instantly
Q8GATE CS TOCTheory of ComputationMCQMEDIUM
+2M β€’ -0.67

Which of the following languages over Ξ£={a,b,c}\Sigma = \{a, b, c\} is accepted by a Non-Deterministic PDA (NPDA), NOT by any Deterministic PDA (DPDA)?

⚑ Click an option above to verify instantly
Solve All 11 Theory of Computation Questions
Other Units in GATE Computer Science & Information Technology (GATE CS)
βˆ‘ Engineering Mathematics & Discrete MathπŸ”Œ Digital LogicπŸ—οΈ Computer Organization & ArchitectureπŸ’» Programming & Data Structures⚑ AlgorithmsπŸ”„ Theory of ComputationπŸ› οΈ Compiler Designβš™οΈ Operating SystemsπŸ—„οΈ Databases (DBMS)🌐 Computer Networks🧭 General Aptitude (Mandatory)