retagged by
638 views
3 votes
3 votes

Which of the following strings are a member of the language described by the regular expression $\left(a^* {b} {a}^* b a^* b {a}^*\right)^*$

  1. $b b b b$
  2. $bbaaabb$
  3. $bbaaabbbabb$
  4. $b b a b b b a b$
retagged by

3 Answers

7 votes
7 votes
C isn't possible here, sir. The strings should have b's which are multiples of 3.
0 votes
0 votes
Answer is d as it will only have 3,6,9,12.......means 3n b
Answer:

Related questions