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?
- Aaaaa* $(\lambda+b+b b+b b b)$
- Baaaaa*$(b+bb+bbb)$
- Caaaaa *$(\lambda+b+b b+b b b)$Correct answer
- Daaaa* $(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.