1.

Given the following statements: (i) Recursive enumerable sets are closed under complementation. (ii) Recursive sets are closed under complements. Which is/are the correct statements?(a) I only(b) II only(c) Both I and II(d) Neither I nor IIThis question was addressed to me in homework.My enquiry is from Context Free Grammar topic in section Contextfree Grammar and Syntax Analysis of Compiler

Answer»

Correct answer is (b) II only

The EXPLANATION is: RECURSIVE languages are CLOSED under the following operations.

The Kleene star L * of L

The concatenation L * o P of L and P

The union L U P

The intersection L ∩ P.



Discussion

No Comment Found

Related InterviewSolutions