🎙 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 6 of 10

What does this print? (code)

What does this print?

full, change = 50, 4
diffs = [change * d for d in range(1, 4)]
print(diffs, full + sum(diffs))
  1. A.[4, 4, 4] 62
  2. B.[4, 8, 12] 24
  3. C.[4, 8, 12] 74
  4. D.[4, 8, 12] 62
Answer & explanation

Correct answer: [4, 8, 12] 74

Differentials grow each day (4, 8, 12 GB); 50 + 24 = 74 GB in total.

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 →