Step Into C · Module exam · Modeling Data
Exam: The Permissions Inspector
Decode octal permission bits, sort records with qsort and count what matters.
- ~35 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.
On Linux and macOS, every file carries nine permission bits: read, write and execute, for the owner, the group and everybody else. They are usually written as three octal digits, like 755. Build the inspector that turns a list of files and modes into the familiar rwxr-xr-x view, sorted by name, and flags the risky ones.
In this module exam
- The brief
- What this exam tests
Missions
- Decode, sort, flag