• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
Which regular expressions belong to R where R=ab*cb*R=ab*+cb*?
  1. ab
  2. abb
  3. cb
  4. All of these
Explanation

Now let's evaluate the options:

(A) ab: This string matches
ab^*
(since

b^*
allows for one 'b'). So, this belongs to R

(B) abb: This string also matches (since
b^*
allows for two 'b's). So, this belongs to .

(C) cb: This string matches (since b^* allows for one 'b'). So, this belongs to .

(D) All of these: Since all the previous options (A, B, C) belong to
R
, this is correct.

Related MCQs

  1. All real numbers
  2. [0, π]
  3. [-1, 1]
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. 180°
  2. 120°
  3. 90°
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. 4 times
  2. 5 times
  3. 2 times
  4. None
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. 15
  2. 20
  3. 25
  4. 30
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. 90 degrees
  2. 180 degrees
  3. 270 degrees
  4. 360 degrees
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com