Wednesday, February 11, 2015


(1) A process executes the code  
forkO; fork(); forkO; fork();  
The total number of child processes created is (A) 3 (B) 15 (C) 7 (D) 8
Answer: (B)


(2) Assuming P != NP, which of the following is TRUE?

(A) NP-complete = NP
(B) NP-complete INTERSECTION P = 0
(C) NP-hard = NP
(D) P = NP-complete

Answer(B)

No comments:

Post a Comment