372 views
1 votes
1 votes

Consider the following regular expression (RE)

                                                 RE =  (a+b)*(a+b+ε)a

Which of the following is equivalent to the above RE?

  • a)   (a* + b*)+ (aa + ba)
  • b)   (ε + a+b*)+ a
  • c)   (a + b)+ (a + b + ε)a
  • d)   None of these

1 Answer

Best answer
1 votes
1 votes
From the given  regular expression we have  minimum string "a"

(a) option we can't have string "a".so option is false

(B) option we can derive minimum strings "a"and others string too which are in above language

In (c) option again we cannot derive the string "a"

So (b) option should be ans.
selected by