Theory of Automata and Formal Languages (BCS402) AKTU previous year questions 2018–2026
Every Theory of Automata and Formal Languages question from 7 AKTU papers, tagged by unit, topic and marks. A few recent questions from each unit are listed below; open the page to filter by unit, topic or mark type.
Unit 1: Basic Concepts and Automata Theory – AKTU PYQs
- Define Deterministic Finite Automata (DFA). (2 marks, 2026, Deterministic Finite Automaton)
- Design a DFA to accept all strings with abb as substring over alphabet {a,b}. (2 marks, 2026, Deterministic Finite Automaton)
- Design a DFA which accepts set of strings such that every string containing 00 as substring but not 000 as a substring. (7 marks, 2026, Deterministic Finite Automaton)
- Define Non-Deterministic Finite Automata. Design a NFA to accepts strings over {0,1} containing the substring 1101. (7 marks, 2026, Non Deterministic Finite Automaton)
- Define the Moore machine. Design a Moore machine to generate 1’s complement of given binary numbers. (7 marks, 2026, Finite Automata with Output)
Unit 2: Regular Expressions and Languages – AKTU PYQs
- Find the shortest string not in the language of the regular expression a^*(ba)^*. (2 marks, 2026, Regular Expressions)
- State the Pigeonhole Principle. (2 marks, 2026, Pumping Lemma for Regular Languages)
- Using the pumping lemma, show that L={a^nb^{2n} | n≥1} is not regular language. (7 marks, 2026, Pumping Lemma for Regular Languages)
- Write the regular expression for the languages: (i) Accepting all the string containing any number of 0's and 1's over the set Σ={0,1}. (ii) Accepting all the string starting with 10101 over alphabet {0,1}. (7 marks, 2026, Regular Expressions)
- Construct regular expression for given DFA using Arden’s theorem. (7 marks, 2026, Arden's Theorem)
Unit 3: Regular and Non-Regular Grammars – AKTU PYQs
- Explain the difference between non-generating and unreachable symbols. (2 marks, 2026, Simplification of CFG)
- Remove ε-productions from the given grammar: S→ AB | BC, A→ aA | ε, B→ bB | ε, C→ c (7 marks, 2026, Simplification of CFG)
- Define Greibach Normal Form (GNF). Convert the following CFG into GNF: S→ CD, C→ DS | d, D→ SC | c (7 marks, 2026, Normal Forms of CFG)
- What is ambiguity in a CFG? Construct a CFG for the language L={a^nb^n | n≥0}. (7 marks, 2026, Context Free Grammar)
- What is the ambiguity in Context-Free Grammars (CFGs)? (2 marks, 2025, Context Free Grammar)
Unit 4: Push Down Automata and Properties of Context Free Languages – AKTU PYQs
- Define acceptance by final state and acceptance by empty stack in a PDA. (2 marks, 2026, Nondeterministic Pushdown Automata)
- Construct PDA that accepts L={a^nb^{2n} | n≥1}. (7 marks, 2026, Nondeterministic Pushdown Automata)
- Design Two Stack Pushdown Automata for the given language: L={a^nb^nc^n | n≥1}. (7 marks, 2026, Two Stack Pushdown Automata)