retagged by
1,387 views
1 votes
1 votes

Loading Question

retagged by

2 Answers

Best answer
3 votes
3 votes

Let us see each of the following languages one by one :
 

Language (i) is not regular .Let us see how. Since we get regular expression for each of the cases when we substitute 0* and t for w and x one by one..In each case we get a regular expression..So the set generated will be a regular set..

For instance , we substitute w = x = 0* , so we get 0*..Similarly w = x = t , then we have a single string ttt..In general , the appropriate description would be to do these :

Now putting w = t and x = 0* and wR = t only so we will get t(0*)t

Similarly put w = 0* and x = t so we get the regular expression 0n t 0n which as |w| = |wR| so length needs to be same..So clearly 0t00 will not come in the above expression..So we can conclude that wxwR  such that w = 0* and x = t is not regular..Hence we can conclude that the language is not regular..

w.x.wR  = x = (t + 0*)..So all higher strings which were generated by w.x.wR will get generated by x only by doing the above substitution..Hence langauge (i) is regular..

Language (ii) is regular as well since by substituting w = wR  = ϵ , we get :

w.wR.x  = x which is beyond doubt regular ..So all the strings under the Kleene's Closure are covered basically so necessarily it has to be regular..

Language (iii) is regular beyond doubt as it is a finite set and to model finite set we need finite memory hence can be modelled using finite automata..

Language (iv) is not even CFL since this cannot be implemented even by PDA i.e. by using 2 stacks..However it can be implemented using 2 stacks and hence can be done by LBA(Linearly Bounded Automata) and hence a CSL..

Hence none of the options are given correct here.So it should be corrected..

selected by
0 votes
0 votes
edited by

Related questions

1 votes
1 votes
2 answers
1
0 votes
0 votes
0 answers
2
3 votes
3 votes
2 answers
3