🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Backups and Disaster Recovery: all 10 questions

Quiz: Backups and Disaster Recovery · Question 4 of 10

What does this print? (code)

What does this print?

size_gb, speed, checks = 90, 3, 15
print(size_gb / speed + checks)
  1. A.45
  2. B.45.0
  3. C.30.0
  4. D.105.0
Answer & explanation

Correct answer: 45.0

90 / 3 = 30.0 minutes to restore, plus 15 minutes of checks, gives 45.0; / always returns a float in Python.

Can you get the rest right without peeking?

Take the timed Quiz: Backups and Disaster Recovery quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →