Given the following statements: (i) Recursive enumerable sets are closed under complementation. (ii) Recursive sets are closed under complements

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 II
 
Answer: b
Explanation: 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.
 

Tìm kiếm

Back
Top