Skip to content

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:

  1. $r=a(b+a)^*$
  2. $s=a(a+b)^*$
  3. $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:

  1. A
    $L(r) \subseteq L(s) \subseteq L(t)$
  2. B
    $L(r) \supseteq L(s) \supseteq L(t)$
    Correct answer
  3. C
    $L(r) \supseteq L(t) \supseteq L(s)$
  4. 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.