edited by
1,939 views
1 votes
1 votes

Let $L$ be a language recognizable by a finite automaton. The language $Reverse(L)$=$\{\text{x such that x is the reverse of y where y belongs to L}\}$ is a -

  1. Regular Language
  2. Context-sensitive language
  3. Context-free language
  4. Phrase-structured language


According to me, the answer should be all of $a,b,c$ and $d$. But it is given $a$ in the study material of my coaching institute. What is the correct answer?

edited by

2 Answers

3 votes
3 votes
Regular languages are closed under Reversal [Reverse(L) can be obtained by reversing directions in FSA of L & changing initial state to final and final to initial(for more than one final states, draw an epsilon move from each one of them to a single final state] So the answer is A.

But you are right in the sense that all regular languages are CFL/CSL/Phrase structured. Still best choice would be A.
edited by
0 votes
0 votes
Regular Language are close under Reversal operation. So most suited  option is A, because Regular  Language is smallest set in Chomsky Grammar (Language) classification. Every Recursive enumerable or CSL or Context free grammar  are not always Regular.

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
3