Rastriya Banijya Bank Limited2083 BSQuestion 8 of 16
What are the functions of an operating system? Differentiate between DOS and UNIX operating systems.
5 marks
Question source
- Exam year
- 2083 BS / 2026 AD
- Level
- Fifth Level
- Paper
- Paper II – Information Technology and Management
- Section
- Section B: Medium Answer Questions
Model answer
Functions of an Operating System
An Operating System (OS) is system software that manages computer hardware and software resources and provides common services for application programs. Its major functions are:
- Process Management — creates, schedules, and terminates processes; manages CPU allocation using scheduling algorithms; handles multitasking
- Memory Management — allocates and deallocates RAM; manages virtual memory, paging, and swapping
- File System Management — organizes files in directories; manages read/write/execute permissions
- Device Management — communicates with hardware via device drivers; manages I/O operations
- Security and Access Control — authenticates users; enforces access permissions; encrypts data
- User Interface — provides CLI (command-line) or GUI for user interaction
- Error Detection and Handling — monitors system for errors and responds appropriately
Difference Between DOS and UNIX
| Feature | DOS (Disk Operating System) | UNIX |
|---|---|---|
| Developed by | Microsoft (MS-DOS) | Bell Labs (AT&T), 1969 |
| User type | Single-user only | Multi-user (many users simultaneously) |
| Multitasking | No (single task at a time) | Yes (preemptive multitasking) |
| Interface | CLI only (command prompt) | CLI (shell) + GUI possible (X Window) |
| File System | FAT (File Allocation Table) — FAT16, FAT32 | Hierarchical file system (/, /home, /etc, /var) |
| Case sensitivity | Not case-sensitive (FILE.TXT = file.txt) | Case-sensitive (File.txt ≠ file.txt) |
| Security | Minimal — no user accounts or file permissions | Strong — user accounts, file permissions (read/write/execute), sudo |
| Stability | Lower — prone to crashes | Very high — designed for servers and long uptime |
| Network support | Limited | Built-in, full TCP/IP networking |
| Portability | Tied to x86 architecture | Highly portable across hardware architectures |
| Open source | No | Many variants open-source (Linux, FreeBSD) |
| Examples | MS-DOS, FreeDOS, DR-DOS | Linux, macOS, Solaris, AIX, HP-UX |
| Current use | Legacy embedded systems | Servers, supercomputers, mobile (Android/iOS are Unix-based) |