Skip to content

UGC NET CS 2022Theory of Computation and Compilers › Regular Language ModelsVerified

UGC NET CS 2022 PYQ: Consider the language $L=\left\{a^{n} b^{m}: n \geq 4, m \leq 3\right\}$ Which of the following regular…

Consider the language $L=\left\{a^{n} b^{m}: n \geq 4, m \leq 3\right\}$
Which of the following regular expression represents language L?

  1. A
    aaaa* $(\lambda+b+b b+b b b)$
  2. B
    aaaaa*$(b+bb+bbb)$
  3. C
    aaaaa *$(\lambda+b+b b+b b b)$
    Correct answer
  4. D
    aaaa* $(b+b b+b b b)$

Answer

(C) aaaaa *$(\lambda+b+b b+b b b)$

Approach

Translate each bound into a regular expression and compare to the language.

Reviewed by UGC IQ Editorial Team.