Skip to content

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?

  1. A
    Only S1 is correct
  2. B
    Only S2 is correct
  3. C
    Both S1 and S2 are not correct
  4. D
    Both S1 and S2 are correct
    Correct 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.