In a lottery scheduler with 40 tickets, how we will distribute the tickets among 4 processes and such that each process gets 10%, 5%, 60% and 25% respectively?
P1 P2 P3 P4 a) 12 4 70 30 b) 7 5 20 10 c) 4 2 24 10 d) 8 5 40 30
(A) a
(B) b
(C) c
(D) d
Answer: (C)
Explanation: Total tickets = 40
4 processes to get 10%, 5%, 60% and 25%
10% of 40 = 4; 5% of 40 = 2;
60% of 40 = 24 and 25% of 40 = 10
So, option (C) is correct.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Article Tags :
Recommended Articles