File System Organization: The OS manages the logical structure of data on secondary storage. It provides tools for creating, naming, moving, and deleting files, while maintaining a directory or index to locate data quickly.
Access Control: Security management involves defining user permissions. The OS ensures that only authorized users can access or modify specific files, often through password-protected accounts and encrypted file systems.
System Auditing: To maintain integrity, the OS keeps detailed logs (audits) of system activities. This includes tracking which users accessed which files and recording any changes or deletions made to the system.
Device Drivers: These are specialized software components that act as translators between the OS and specific hardware. Because hardware varies by manufacturer, drivers allow the OS to communicate with devices like printers or graphics cards using a standardized set of commands.
Plug-and-Play (PnP): Modern operating systems can automatically detect and configure new hardware. This process involves identifying the device, finding the appropriate driver, and allocating the necessary system resources without requiring manual user intervention.
| Feature | Command Line (CLI) | Graphical User (GUI) |
|---|---|---|
| Interaction | Text-based commands | Visual elements (WIMP) |
| Ease of Use | Difficult for beginners | Highly intuitive |
| Resources | Very low RAM/CPU usage | High RAM/CPU usage |
| Control | Direct and powerful | Limited by visual options |
Identify the Task: When asked about OS functions, always categorize your answer into one of the five core management tasks: Memory, File, Security, Hardware, or Process management.
Explain the 'Why': Don't just state that the OS manages memory; explain that it does so to prevent data overwriting and to enable multitasking.
Driver Specificity: Remember that device drivers are OS-specific. A driver written for one operating system will generally not work on another, even if the hardware device is the same.
Sanity Check: If a question asks about 'hiding complexity,' think of examples like the user not needing to know the physical sector address of a file on a hard drive.