UGC NET CS 2020Theory of Computation and Compilers › Regular Language ModelsVerified
UGC NET CS 2020 PYQ: Consider the following regular expressions: $r=a(b+a)^*$ $s=a(a+b)^*$ $t=aa^*b$ Choose the correct answer…
Consider the following regular expressions:
- $r=a(b+a)^*$
- $s=a(a+b)^*$
- $t=aa^*b$
Choose the correct answer from the options given below based on the relation between the languages generated by the regular expressions above:
- A$L(r) \subseteq L(s) \subseteq L(t)$
- B$L(r) \supseteq L(s) \supseteq L(t)$Correct answer
- C$L(r) \supseteq L(t) \supseteq L(s)$
- D$L(s) \supseteq L(t) \supseteq L(r)$
Answer
(B) $L(r) \supseteq L(s) \supseteq L(t)$
Approach
Simplify each expression and compare the languages.
Reviewed by UGC IQ Editorial Team.