What is an Operating System? | DIT Semester 1 Notes
What is an Operating System?
A modern, simple and exam-oriented guide to the Operating System: its basic concept, role as an interface, major functions, GUI, CLI and focused exam practice.
⚡ Quick Access
Jump directly to any part of Article 1.1.
1.1.1 Introduction
Understand the basic idea before memorizing.
A computer consists of different hardware components such as the CPU, memory, storage devices, keyboard, mouse, monitor and printer. Hardware is the physical part of a computer, but hardware alone cannot provide a complete working environment for the user.
A computer needs special software to control its hardware, manage its resources and provide an environment for running other programs. This special software is called an Operating System (OS).
The Operating System is one of the most important types of system software. It provides a connection between the user, application programs and computer hardware.
In very simple English: An Operating System is the main software of a computer that helps the user use the computer and manages its hardware and other software.
1.1.2 Operating System as an Interface
The OS works as a bridge between the user and hardware.
The word interface means a way of communication between two or more components. An Operating System acts as an interface between the user, application programs and computer hardware.
For example, when a student opens a document, the student does not directly control the hard disk. The Operating System communicates with the storage device, locates the required file, loads its data into memory and provides it to the application.
Example: Printing a Document
- The user opens the document.
- The application asks the Operating System to print it.
- The Operating System communicates with the printer.
- The OS sends the required information to the printer.
- The printer produces the document.
Examples of Operating Systems
Microsoft Windows, Linux, macOS, Android, iOS and UNIX are examples of Operating Systems included in the supplied Unit-1 material.
1.1.3 Major Functions of an Operating System
These seven functions are important for exam preparation.
Manages running programs or processes and allocates CPU time to them.
Manages main memory and allocates memory to running programs.
Organizes and manages files and folders stored on storage devices.
Controls and coordinates input and output devices.
Protects data and computer resources from unauthorized access.
Provides a way for users to interact with the computer through GUI or CLI.
Manages and allocates resources such as CPU, memory, storage and devices.
CONTROLManage • Protect • Coordinate
Process Management
A process is a program that is currently running or being executed. If a browser, music player and word processor are running at the same time, the OS manages these processes and decides when each program should use the CPU.
Memory Management
The computer's main memory is commonly called RAM (Random Access Memory). Programs need memory while they are running. The OS decides which program gets memory, how much memory is allocated and when memory can be released.
File Management
A computer stores information in the form of files and folders. The OS helps create, open, save, delete, organize and find stored files and manages folders.
Device Management
Input devices include the keyboard, mouse, scanner and microphone. Output devices include the monitor, printer and speakers. The OS controls and coordinates these devices and commonly uses device drivers to communicate with hardware.
Security and Protection
An OS can provide security features such as user authentication, password protection, access control, file protection and protection of system resources. These features help protect data and resources from unauthorized access.
Resource Management
A computer has limited resources such as CPU, RAM, storage, input devices, output devices and network resources. The OS manages these resources and allocates them to programs and users.
1.1.4 User Interface — GUI and CLI
Two important ways of interacting with a computer.
GUI — Graphical User Interface
GUI stands for Graphical User Interface. It allows the user to interact with a computer using graphical elements such as icons, menus, windows, buttons and pointers.
For example, clicking the Recycle Bin, opening File Explorer or selecting an application through an icon are examples of graphical interaction.
CLI — Command Line Interface
CLI stands for Command Line Interface. In CLI, the user communicates with the computer by typing commands instead of clicking graphical objects.
| GUI | CLI |
|---|---|
| Graphical User Interface | Command Line Interface |
| Uses icons and menus | Uses typed commands |
| Generally easier for beginners | Requires knowledge of commands |
| User can click graphical objects | User types instructions |
1.1.5 Quick Revision
Revise the whole article in a minute.
- Operating System is system software.
- It manages computer hardware and software resources.
- It provides services to users and application programs.
- It acts as an interface between users, applications and hardware.
- Major functions are process, memory, file, device, security, user interface and resource management.
- GUI uses graphical elements, while CLI uses typed commands.
Article 1.1 — 7 Short Questions & Answers
Tap any question to reveal its answer.
Q1. What is an Operating System?
An Operating System is system software that manages computer hardware and software resources and provides services to users and application programs.
Q2. Why is an Operating System important?
An Operating System is important because it manages computer resources, provides an environment for running application programs and makes the computer easier and more convenient to use.
Q3. What is the role of an Operating System?
The Operating System manages hardware and software resources and acts as an interface between users, application programs and computer hardware.
Q4. What is GUI?
GUI stands for Graphical User Interface. It allows users to interact with a computer through graphical elements such as icons, menus, windows, buttons and pointers.
Q5. What is CLI?
CLI stands for Command Line Interface. It is an interface in which the user interacts with the computer by typing commands.
Q6. What is Process Management?
Process Management is an OS function that manages running processes and allocates CPU time to them.
Q7. What is Memory Management?
Memory Management is the OS function that manages and allocates main memory to programs.
Article 1.1 — 3 Long Questions
Tap a question to expand the model answer.
Q1. Define an Operating System and explain its importance.
An Operating System is a collection of system programs that manages computer hardware and software resources.
It provides services to application programs and users.
It controls important resources such as the CPU, memory, storage and input/output devices.
It also provides an environment in which application programs can run.
The OS makes communication between users, applications and hardware easier.
It also provides facilities such as file management, security and user interaction.
Therefore, the Operating System is an essential part of a computer system.
Q2. Explain the Operating System as an interface between users, applications and hardware.
An Operating System acts as an interface or bridge between the user, application programs and computer hardware.
The user normally interacts with applications instead of directly controlling hardware.
When an application needs a hardware resource, it requests the required service from the OS.
The OS communicates with the appropriate hardware and manages the operation.
For example, when a document is printed, the application asks the OS to communicate with the printer.
The OS handles the required communication and sends the information to the device.
Thus, the OS makes computer hardware easier and more convenient for users and applications to use.
Q3. Explain the major functions of an Operating System.
The Operating System performs several important functions to manage a computer system.
Process Management manages running programs and allocates CPU time.
Memory Management manages and allocates main memory to programs.
File Management organizes and manages files and folders.
Device Management controls and coordinates input/output devices.
Security and Protection helps protect data and system resources from unauthorized access.
User Interface and Resource Management provide user interaction and manage resources such as CPU, memory, storage and devices.
Article 1.1 — 15 Important MCQs
All options are visible. Click “Show Answer” only when you are ready.
1. An Operating System is:
Show Answer
2. An Operating System mainly acts as an interface between:
Show Answer
3. Which of the following is an example of an Operating System?
Show Answer
4. Which OS function manages running programs?
Show Answer
5. Which OS function manages RAM?
Show Answer
6. File Management is used to manage:
Show Answer
7. Device Management controls:
Show Answer
8. GUI stands for:
Show Answer
9. GUI mainly uses:
Show Answer
10. CLI stands for:
Show Answer
11. In CLI, users normally:
Show Answer
12. OS security protects:
Show Answer
13. Which is a computer resource?
Show Answer
14. The OS provides an environment for:
Show Answer
15. Which interface normally uses typed commands?
Show Answer
Final Exam Reminder
Keep your Article 1.1 preparation focused.

No comments