ISRO Scientist/Engineer CSE 2017Theory of Computation › Not yet assigned to a topic
ISRO Scientist/Engineer CSE 2017 PYQ: Given the following statements S1 : Every context-sensitive language $L$ is recursive S2 : There exists a…
Given the following statements
- S1 : Every context-sensitive language $L$ is recursive
- S2 : There exists a recursive language that is not context-sensitive
Which statements are true?
- AOnly S1 is correct
- BOnly S2 is correct
- CBoth S1 and S2 are not correct
- DBoth S1 and S2 are correctCorrect answer
Answer
(D) Both S1 and S2 are correct
Approach
Recall the standard Chomsky hierarchy containment: regular ⊂ context-free ⊂ context-sensitive ⊂ recursive ⊂ recursively enumerable. S1 asks whether every context-sensitive language is recursive; S2 asks whether some recursive language is not context-sensitive. Both follow from the fact that the containment is proper (strict).
Reviewed by ISRO IQ Editorial Team.