Week 6 Unit 4: Self-test

18. June 2024

Question 1

Why is the library 'calendar' of great help in programming?

Note: There are 3 correct answers to this question.

Calculations of times are complex, as systems of 60 (minutes, seconds), 12 and 24 (hours), and 100 (milliseconds) are mixed.
Due to the relativity of time, time is hard to measure.
Dates are full of exceptions, like leap years or months of different length.
Calculations with days are difficult because other units of times based on the number of days like week (7 days) or month (28 to 31 days) do not fit to each other.
Due to different time zones, the calculation of time depends on where the computer is located.

< Previous unit | Next unit > | Course Overview