In a lottery scheduler with 40 tickets, how we will distribute the tickets…
2015
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
Attempted by 446 students.
Show answer & explanation
Correct answer: C
Total tickets available = 40.
Calculate allocation for each process based on percentages:
P1: 10% of 40 = 4 tickets
P2: 5% of 40 = 2 tickets
P3: 60% of 40 = 24 tickets
P4: 25% of 40 = 10 tickets
The resulting distribution is 4, 2, 24, 10.
A video solution is available for this question — log in and enroll to watch it.