(ii) There is a recursive language that is not context sensitive.
Options (A) (i) is true, (ii) is false.
(B) (i) is true and (ii) is true.
(C) (i) is false, (ii) is false.
(D) (i) is false and (ii) is true
Answer(B) (i) is true and (ii) is true.
Explanation. Languages and their related automation are given in above fig. Type 3 is subset of type 2
Type 2 is subset of type 1
Type1 is subset of type0.
So every CSL is recursive but every recursive language may not be context sensitive.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.