Question: Please give correct answer and explain clearly 1a. Which of the following strings match the Regular Expression (RE): a*bb(ab+ba)* ? bbbb aaabbaaa bbabbabaabaaab aaaaaabbababababbaab abbababbabaabbaabbaabbabba
Please give correct answer and explain clearly
1a. Which of the following strings match the Regular Expression (RE): a*bb(ab+ba)* ?
bbbb
aaabbaaa
bbabbabaabaaab
aaaaaabbababababbaab
abbababbabaabbaabbaabbabba
1b. Which of the following strings match the Regular Expression: c.(a+b*)+c*+bb(ab+ba) ?
cab
bbba
cbbbbbbbbb
cabbbbb
1c. Which of the following strings match the RE: ((aa)* (bb)*) + (aa)* a (bb)* b)) ?
bbbb
aabbbbaabbaa
bbabbabaabaabab
aaaaaaabbb
abbababbabaabbaabbaabbabba
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
