Please answer the following question.
Also, the part e) of the question says: design a regularexpression that accepts the language of all binary strings with nooccurrences of 010
5. Given R=(0*10+)* (1 U €) and S =(1*01+)* a) Give an example of a string that is neither in the language of R nor in S. [2marks] b) Give an example of a string that is in the language of S but not R. [2 marks] c) Give an example of a string that is in the language of R but not S. [2 marks] d) Give an example of a string that is in the language of Rand S. [2 marks] e) Design a regular expression that accepts the language of all binary strings with no occurrences of 010 [4 marks]
Please answer the following question. Also, the part e) of the question says: design a regular expression that accepts t
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am