in Theory of Computation recategorized by
304 views
0 votes
0 votes

Regular expression $a+b$ denotes the set :

  1. {$a$}
  2. {$\in, a, b$}
  3. {$a, b$}
  4. None of these
in Theory of Computation recategorized by
304 views

2 Answers

0 votes
0 votes
The given regular expresson generates strings a and b.not more,not less.

So option C is the answer
0 votes
0 votes
In a regular expression, positive closure $(+)$ sign represents choice or selection between alphabets/strings

$R=(a+b)$ means we have $2$ choice/strings,either $a$ or $b$.

 Option $(C)$ is correct.
edited by

Related questions