Step Into C · Module exam · Foundations
Exam: The Time Machine
Turn a raw count of seconds into days, hours, hex and bytes.
- ~25 minto solve
- 3hints
- membersaccess
- Clanguage
Part of Step Into C. The full module exam, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.
A log file stores every duration as one big number of seconds. Nobody can read that. Write the converter that turns it into something a human understands, and show the same number the way a systems programmer sees it: in hex, and as a single byte.
In this module exam
- The brief
- What this exam tests
Missions
- Convert any number of seconds