• 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. 12
  2. 14
  3. 16
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

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

  1. π/4
  2. π/2
  3. π
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. sin(x)
  2. −sin(x)
  3. −cos(x)
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

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

All Rights Reserved © TestPointpk.com