Theory of Computation (CS-501) - Important Questions
-
7 Marks Medium Priority Asked: 2025
Explain finite automata as language acceptors and translators.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain Moore and Mealy machines with examples. How do they differ in output behaviour?
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Design a Mealy machine that outputs 1 when the input is '1' and 0 otherwise.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Convert the given Moore machine with states $\{A, B\}$ to an equivalent Mealy machine.
Appeared 1x (2025)
-
8 Marks Low Priority Asked: 2024
Explain the differences between Mealy and Moore machines and convert the given Moore machine into its equivalent Mealy machine.
Appeared 1x (2024)
-
6 Marks Low Priority Asked: 2024
Define finite-automata machine mathematically and explain its types.
Appeared 1x (2024)
-
10 Marks Low Priority Asked: 2025, 2023
Convert a given Moore machine to its equivalent Mealy machine.
Appeared 2x (2025, 2023)
-
9 Marks High Priority Asked: 2025, 2023, 2019
Write a regular expression for a given language description over an alphabet (e.g., containing a substring, ending with a pattern, with a count condition).
Appeared 3x (2025, 2023, 2019)
-
7 Marks Medium Priority Asked: 2025, 2022
Convert the given NFA (NDFA) to an equivalent DFA.
Appeared 2x (2025, 2022)
-
14 Marks Medium Priority Asked: 2025
Given a regular expression, calculate the minimum number of states in the equivalent NFA and DFA.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain deterministic and non-deterministic finite automata with examples.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
What is a 2-way DFA? How does it differ from standard DFA in terms of tape head movement?
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Minimize the given DFA with states $\{A,B,C,D\}$, initial state $A$, final state $C$, and specified $a,b$-transitions.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain regular expressions and Arden's theorem.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2023, 2022
Compute / derive the regular expression for the given DFA / finite automata.
Appeared 2x (2023, 2022)
-
8 Marks Low Priority Asked: 2024
What is a DFA machine? Design a deterministic finite automata machine over the alphabet set $\{0, 1\}$, accepting all strings starting and ending with different alphabet.
Appeared 1x (2024)
-
8 Marks Low Priority Asked: 2024
Minimize a DFA using the Myhill-Nerode theorem.
Appeared 1x (2024)
-
6 Marks Low Priority Asked: 2024
Define regular expression and find the regular expression for a given DFA.
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2023
Construct DFAs over $\{a,b\}$ for: exactly one $a$, at least one $a$, and at least one $a$ followed by exactly two $b$'s.
Appeared 1x (2023)
-
7 Marks Medium Priority Asked: 2025, 2019
Convert a given context-free grammar to Chomsky Normal Form (CNF).
Appeared 3x (2025, 2019)
-
7 Marks Medium Priority Asked: 2025
Explain ambiguity in context-free grammars with an example and how it can be resolved / removed.
Appeared 2x (2025)
-
6 Marks Medium Priority Asked: 2025, 2024
Find the leftmost and rightmost derivations and draw the parse tree for a given string using a given grammar
Appeared 2x (2025, 2024)
-
7 Marks Medium Priority Asked: 2025
Explain ambiguity in context-free grammars with an example. How can it be resolved?
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Convert the grammar $S \to aSb \mid SS \mid \varepsilon$ to Chomsky Normal Form (CNF).
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain context-free grammar and derivation trees.
Appeared 1x (2025)
-
8 Marks Low Priority Asked: 2024
Discuss about the Chomsky hierarchy of languages with their grammar constraints rules and corresponding automata for each class.
Appeared 1x (2024)
-
8 Marks Low Priority Asked: 2024
Find a reduced Grammar equivalent to Grammar $G$, having Production rules $P$.
$P: \{ S \to AC / B, A \to a, C \to c / BC, E \to aA / e \}$
Appeared 1x (2024)
-
8 Marks Low Priority Asked: 2024
Show that $L = \{a^n b^n c^n / n \ge 1\}$ is not a context-free language.
Appeared 1x (2024)
-
6 Marks Low Priority Asked: 2024
Consider the following grammar for list structures:
$S \to a / \wedge / (T)$
$T \to T,S / S$
Find left most derivation, right most derivation and parse tree for the string $(((a,a),\wedge(a)),a)$.
Appeared 1x (2024)
-
6 Marks Low Priority Asked: 2024
Convert the grammar $S \to AB, A \to BS / b, B \to SA / a$ into Greibach normal form.
Appeared 1x (2024)
-
8 Marks Low Priority Asked: 2024, 2023
Find an equivalent reduced context-free grammar with no useless symbols.
Appeared 2x (2024, 2023)
-
7 Marks High Priority Asked: 2025, 2024, 2023
Explain pushdown automata and compare deterministic PDA (DPDA) and non-deterministic PDA (NPDA) with a suitable example, including whether they are equivalent.
Appeared 3x (2025, 2024, 2023)
-
7 Marks Medium Priority Asked: 2025
Describe the conversion from PDA to CFG using the standard algorithm.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Construct a PDA for the language $L = \{ww^R \mid w \in (a+b)\}$
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Design a PDA for the language $L=\{a^n b^n \mid n \ge 1\}$.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2023, 2022
Construct an NPDA/PDA that accepts the language generated by a given CFG.
Appeared 2x (2023, 2022)
-
7 Marks Low Priority Asked: 2024
Is NPDA (non-deterministic PDA) and DPDA (deterministic PDA) equivalent or not? Illustrate with an example.
Appeared 1x (2024)
-
6 Marks Low Priority Asked: 2024
Construct a PDA accepting the language $\{(ab)^n : n \ge 1\}$ by empty stack
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2023
Construct PDAs by empty stack for i) $L=\{(ab)^n \mid n\ge 1\}$, ii) $L=\{ww^R\}$, iii) $L=\{a^{2n}b^n \mid n\ge 1\}$.
Appeared 1x (2023)
-
14 Marks Low Priority Asked: 2023
Design pushdown automata for i) $a^n b^{3n}, n\ge 1$ and ii) $ww^R$.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2022
Construct an NPDA to accept the language $L = \{0^{n+1}1^{2n} \mid n \ge 1\}$ over $\Sigma = \{0,1\}$.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Construct the CFG corresponding to a given NPDA.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Give a deterministic PDA that accepts $\{a^{m}b^{n}c^{n} \mid m,n \ge 0\}$ over $\Sigma = \{a,b,c\}$.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2025, 2023, 2022
What is the halting problem and prove/explain why it is undecidable
Appeared 4x (2025, 2023, 2022)
-
7 Marks High Priority Asked: 2025, 2023
Explain recursively enumerable languages and decidable / recursive (and undecidable) languages.
Appeared 2x (2025, 2023)
-
14 Marks Medium Priority Asked: 2025
Differentiate between decidable and recursively enumerable languages.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Compare multi-tape vs multi-head Turing machines and their effect on computational power.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain the concept of NP-complete problems with examples.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain Turing machines and techniques for Turing machine construction.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Prove that the Halting Problem is undecidable using diagonalization.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Design a Turing machine to accept strings over $\{0,1\}$ having an even number of 1's.
Appeared 1x (2025)
-
10 Marks Low Priority Asked: 2024
Write a short notes on the following:
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
Explain the difference between tractable and intractable problems with examples.
Appeared 1x (2024)
-
6 Marks Low Priority Asked: 2024
Explain the different models/variants of Turing machines.
Appeared 1x (2024)
-
4 Marks Low Priority Asked: 2024
Explain P and NP problems with examples.
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2025
Discuss the significance of the Recursion Theorem in computability theory.
Appeared 1x (2025)
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel