Question: need solution for 5b) 5. Given R=(aaab+bba) and S=(abab+aba) a) Give an example of a string of length five that is neither in the language

need solution for 5b)
5. Given R=(aaab+bba) and S=(abab+aba) a) Give an example of a string of length five that is neither in the language of R nor in S. [2 marks] b) Give an example of a string of length five that is in the language of S but not R. [2 marks] c) Give an example of a string of length five that is in the language of R but not S. [2 marks] d) Give an example of a string of length five that is in the language of R and S. [2 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
