Skip to content

UGC NET CS 2022Theory of Computation and Compilers › Theory of ComputationVerified

UGC NET CS 2022 PYQ: Consider $\text{L =a b, a a, b a a}$ Which of the following string is $\text{NOT}$ in $\mathrm{L}^{*}$ ?

Consider $\text{L =a b, a a, b a a}$
Which of the following string is $\text{NOT}$ in $\mathrm{L}^{*}$ ?

  1. A
    $\text{baaaaabaaaaa}$
    Correct answer
  2. B
    $\text{abaabaaabaa}$
  3. C
    $\text{aaaabaaaa}$
  4. D
    $\text{baaaabaa}$

Answer

(A) $\text{baaaaabaaaaa}$

Approach

Try to decompose each string into blocks from {ab, aa, baa}.

Reviewed by UGC IQ Editorial Team.