Home › AKTU PYQ › Theory of Automata and Formal Languages › PYQ Questions › Unit 2

Theory of Automata and Formal Languages Unit 2 – Regular Expressions and Languages: AKTU previous year questions

8 AKTU questions from Unit 2 (Regular Expressions and Languages) asked in 2025–2026, tagged by marks, year and topic. In short: about 30 marks of every paper come from this unit; the most asked topic is Regular Expressions (9 times); 4 questions came back in a later year. The latest ones are listed below; on the page you can filter them by 2-mark or long questions, topic and repeats.

Unit 2 previous year questions

  • 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)
  • Write the regular expression for the language containing strings over {0,1} ending with 01. (2 marks, 2025, Regular Expressions)
  • Prove using Arden's Theorem the regular expression for the following transition diagram: States: A (start), B (final). Transitions: A --a--> A, A --b--> B, B --a--> B (7 marks, 2025, Arden's Theorem)
  • Using Pumping Lemma, show that the language L = {aⁿbⁿcⁿ | n ≥ 0} is not regular. (7 marks, 2025, Pumping Lemma for Regular Languages)

Most asked Unit 2 topics

  • Regular Expressions – asked 9 times
  • Pumping Lemma for Regular Languages – asked 9 times
  • Arden's Theorem – asked 8 times

Unit 2 question pattern

  • 2-mark questions: 3 asked in 2025–2026
  • 7-mark questions: 5 asked in 2025–2026
  • About 30 marks from Unit 2 in every paper
  • 4 questions were asked again in a later year

Unit 2 questions year by year

  • 2026: 5 Unit 2 questions asked (25 marks across that year's papers)
  • 2025: 3 Unit 2 questions asked (16 marks across that year's papers)