← Quiz: CPU Scheduling Numericals: all 14 questions
Quiz: CPU Scheduling Numericals · Question 8 of 14
What does this print? (code)
What does this print?
q, s = 10, 2
print(round(q / (q + s) * 100, 1))
- A.80.0
- B.83.3
- C.20.0
- D.16.7
Answer & explanation
Correct answer: 83.3
10 / 12 = 0.8333…, so 83.3% efficiency.
Can you get the rest right without peeking?
Take the timed Quiz: CPU Scheduling Numericals quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →