-1
$\begingroup$

Have a question from an online course I am trying to take for a certificate. Came across a few questions like this and need help working through the problem and the rationale to get the solution. Any help appreciated.

Consider the regular expressions R1 = (01)*(0*1*)(10) and R2 = (101)(01). Which of following is true?

10 in R1 and 101 R2

10 in R1 and 1000 R2

010 in R1 and 100 R2

010 not in R1 and 100 not in R2

New contributor
walle is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$
  • $\begingroup$ What did you try? Where did you get stuck? We're happy to help you understand the concepts but just solving exercises for you is unlikely to achieve that. You might find this page helpful in improving your question. We're not looking for questions that are just the statement of an exercise-style task and a request for someone to solve it for you. If you understood the concepts, these should be straightforward, so I suggest trying to figure out what about the concepts you don't understand yet. $\endgroup$ – D.W. 2 days ago

Your Answer

walle is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.