Question: 1 . For any string w = w 1 w 2 wn the reverse of w , written wR , is the string w in
For any string w ww wn the reverse of w written wR is the string w in reverse order, wn ww For any language A let AR wR w in A Show that if A is regular then so is AR In other words, prove that regular languages are closed under the operation of string reversal.
Let L L L be languages over the alphabet a b c d and let L denote the
complement of a language L If
L L L and
L is not regular,
then what, if anything, can you say about the languages L and L Explain your answer.
marks Provide regular expressions for the following sets given the alphabet a b c:
aw every odd position of w is c
bw w does not contain the substring bc
cw w contains at least two bs at most one c and no as
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
