Theory of Computation (IT-503 (A)) - Important Questions
-
7 Marks High Priority Asked: 2025, 2022
Construct an NFA for a given language and convert the NFA to an equivalent DFA.
Appeared 2x (2025, 2022)
-
7 Marks High Priority Asked: 2025
Design a DFA to accept binary strings interpreted as binary numbers that are multiples of 4.
Appeared 1x (2025)
-
14 Marks Medium Priority Asked: 2024
Write short note on: (Any three)
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024
What are the components of finite automata model?
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024
Construct a DFA to recognize strings with odd number of 1's and even number of 0's.
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024
Convert a given Mealy machine to an equivalent Moore machine using tabular format.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2022
Design a DFA over $\Sigma = \{0,1\}$ to detect the substring $1100$ with overlap.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Design a NFA that accepts the language over the alphabet, $\Sigma = \{0, 1, 2\}$ where the decimal equivalent of the language is divisible by 4
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2025, 2024, 2022
Derive the regular expression accepted by a given DFA / finite automaton.
Appeared 3x (2025, 2024, 2022)
-
7 Marks High Priority Asked: 2025, 2024, 2020
Construct an equivalent finite automaton / DFA directly from a given regular expression.
Appeared 3x (2025, 2024, 2020)
-
7 Marks Low Priority Asked: 2022
Identify the language generated by the given grammar G.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Construct a regular grammar generating all strings over {a,b} with at most one a and more than two b's.
Appeared 1x (2022)
-
14 Marks High Priority Asked: 2025
Consider the following productions, $S \to aB|bA, A \to aS|bAA|a, B \to bS|aBB|b$ For the string aabbabbba, find the :
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Construct a CFG for $L = \{a^i b^j c^k \mid i,j,k \ge 0, i = j+k\}$.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
How $\epsilon$-productions are eliminated from a grammar whose language doesn't have empty string? Remove $\epsilon$-productions from the grammar given below. $S \to a|aA|B|C, A \to aB | \epsilon, B \to Aa, C \to aCD,$ $D \to ddd$
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Define ambiguous grammar and show that $S \to aSbS | bSaS | \epsilon$ is ambiguous.
Appeared 1x (2025)
-
10 Marks Medium Priority Asked: 2024, 2019
Convert the given CFG into Greibach Normal Form.
Appeared 2x (2024, 2019)
-
7 Marks Medium Priority Asked: 2024
Show that $id+id*id$ has two distinct leftmost derivations in the grammar $E \rightarrow E+E / E*E / (E) / id$.
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024
Explain whether an ambiguous CFG can be converted into Chomsky Normal Form.
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024
Construct a CFG equivalent to the regular expression $(01+1)^*(00+1)$.
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2022
For the given ambiguous grammar $S \to Ab | aaB$, $A \to a | Aa$, $B \to b$, find a string with two leftmost derivations and trees, give an equivalent unambiguous grammar with unique derivation.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Construct a CFG for $L = \{a^n b^m c^m d^{2n} \mid n \ge 0, m>0\}$.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2025, 2022
Construct an (N)PDA that accepts the language generated by the grammar $S \to aABB \mid aAA$, $A \to aBB \mid a$, $B \to bBB \mid A$.
Appeared 2x (2025, 2022)
-
14 Marks High Priority Asked: 2025
Construct PDAs by empty stack for i) $L=\{a^n b^{2n} \mid n \geq 1\}$, ii) $L=\{wCw^R \mid w \in (a+b)^*\}$, iii) $L=\{a^n b^n c^{2m} \mid n \geq 1\}$.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2024
Construct a PDA for $L=\{a^n b^{n+m} c^m \mid n \geq 0, m \geq 0\}$.
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024
Construct a PDA for the grammar $X \to 0X3 \mid 0A3$, $A \to 1A2 \mid 12$.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2022
Construct Non-Deterministic Pushdown Automata (NPDA) to accept the language $\{w | w \text{ starts and ends with the same symbol}\}$ over the alphabet, $\Sigma = \{0, 1\}$
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Construct corresponding CFG for the following NPDA.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Design a deterministic PDA accepting $\{a^n b^m : m \ge n+2\}$ over $\Sigma = \{a,b\}$.
Appeared 1x (2022)
-
14 Marks High Priority Asked: 2025
Write a short notes (any three):
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
Explain the difference between recursive and recursively enumerable languages.
Appeared 1x (2025)
-
7 Marks High Priority Asked: 2025
What are NP-complete and NP-hard problems? Explain them with examples.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2024, 2020
Explain the Turing machine model, including its formal tuple definition, components, working of the read/write head, and its representations.
Appeared 4x (2024, 2020)
-
7 Marks Medium Priority Asked: 2024
Design a Turing Machine to accept strings over $\{a,b\}$ with even total length, i.e., $N(a)+N(b)$ is even.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2022, 2020
Prove that recursive languages are closed under complement (and union and intersection).
Appeared 2x (2022, 2020)
-
7 Marks Low Priority Asked: 2022
Construct a Turing Machine to accept the language $L = \{0^{2n}1^n 2^{2n} \mid n \ge 0\}$.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Prove that the problem of determining whether for a Turing machine M there is some input string for which M halts is undecidable.
Appeared 1x (2022)
-
7 Marks Medium Priority Asked: 2024
Explain Chomsky hierarchy of grammar with suitable example.
Appeared 1x (2024)
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