Operating System
1. Practical – Exploring Basic OS Functions
Task: Demonstrate OS definition, features, and major
functions.
Introduction
An operating system (OS) is the most essential software component of a computer system. It
serves as a bridge between the computer hardware and the user, allowing communication and
control over hardware and software resources. Without an operating system, a user would not
be able to interact with the computer in a meaningful or manageable way. It plays a vital role
in the functioning of computers, smartphones, servers, and even embedded devices such as
smart TVs and routers.
What is an Operating System?
An operating system is a type of system software that manages all hardware and software on a
computer. Essentially, it allows users to execute programs, manage files, and interact with the
device through a user interface.
The operating system performs several key tasks, such as managing memory, processes,
hardware devices, files, and system security. It also ensures that each software program gets
the necessary resources it needs to run, and it handles multiple tasks efficiently through
process scheduling.
Types of Operating Systems
There are several types of operating systems, each suited for different types of devices and
computing environments:
1. Multiuser operating system
With multiprocessors multiple CPUs share memory. A multicomputer or cluster computer has
multiple CPUs, each of which has its own memory. Multi-computers were developed because
large multiprocessors are difficult to engineer and prohibitively expensive, they are universal
in cloud computing because of the size of the machine needed. The different CPUs often need
to send and receive message to each other, to ensure good performance, the operating systems
for these machines need to minimize this copying of packet.
2. Time-Sharing Operating System
Also known as multitasking systems, these allow multiple users to access the system
simultaneously by giving each user a small time slice of the CPU. This type is common in
modern desktop and server operating systems.
3. Real-Time Operating System (RTOS)
Real-time systems are used in environments where time constraints are critical, such as in
medical devices, industrial machines, and robotics. These systems respond to inputs or events
within a strict time limit.
4. Distributed Operating System
In distributed systems, multiple computers are connected and work together as a single
system. Resources are shared among all systems, and tasks are distributed to increase
performance and reliability.
5. Batch Operating System
In this type of operating system, jobs with similar needs are grouped together and executed
one after the other without the interaction of user.
Functions of an Operating System
An operating system performs various crucial functions to ensure that the computer operates
efficiently:
1. Process Management
The OS manages processes by creating, scheduling, and terminating them. It allows multiple
programs to run concurrently without conflict.
2. Memory Management
The OS keeps track of memory usage, allocates memory to processes, and ensures that each
program has sufficient memory to operate safely.
3. File Management
It organizes files on storage devices, manages access permissions, and ensures secure file
operations such as reading, writing, and deleting.
4. Device Management
Through drivers, the OS controls input/output devices like keyboards, printers, and hard
drives, enabling user and application access to hardware.
5. Security and Access Control
The OS maintains system integrity by restricting unauthorized access, managing user
accounts, and protecting against malware and viruses.
6. User Interface
Most modern operating systems provide graphical user interfaces (GUIs), allowing users to
interact with the system using windows, icons, and menus. Some also support command-line
interfaces for advanced control.
Popular Operating Systems
Some of the most widely used operating systems today include:
Microsoft Windows: Known for its user-friendly interface and broad software
compatibility.
MacOS: Apple’s operating system for Mac computers, known for its stability, security,
and design.
Linux: An open-source OS used widely in servers, desktops, and embedded systems.
Popular distributions include Ubuntu, Fedora, and Debian.
Android: The most widely used mobile OS, based on the Linux kernel and developed by
Google.
iOS: Apple’s mobile OS for iPhones and iPads, known for performance and security.
Conclusion
The operating system is the backbone of every computing device. It simplifies the
complexities of hardware management and provides users and applications with a stable
environment to perform tasks. As technology advances, operating systems continue to evolve,
supporting more devices, enhancing security, and improving user experience. Whether you're
using a smartphone, a laptop, or a supercomputer, the operating system plays a critical role in
making the machine
2. Practical – Exploring Types of OS
Task: Differences between Single-user, Multi-user, Batch, Real-time,
Distributed OS.
Differences Between Types of OS
Type of OS Users Task Handling Interaction Examples
Single-User One user at a time Limited Direct interaction Windows 10 Home, iOS
multitasking
Multi-User Many users Supports Network-based UNIX, Linux Server
simultaneously multitasking
Batch OS Many jobs, one by Non-interactive No direct IBM mainframe OS
one batches interaction
Real-Time One or more Handles tasks in Immediate Air traffic control,
OS real time response Robotics
Distributed Many users Resource Operates over Distributed Linux
OS sharing across network
systems
3. Practical – Working with Desktop, Icons &
Taskbar
Task: Selecting icons, opening windows, resizing, pinning apps.
Single-click an icon to select it.
Double-click to open it.
Hold Ctrl and click to select multiple icons.
Drag the mouse to create a selection box.
2. Opening Windows
Double-click any icon or app to open a window.
Right-click an app → Open.
From Start Menu → click any app to open it.
3. Resizing Windows
Pin applications
4. Pinning Apps to Taskbar
Open Start Menu → Find any app.
Right-click the app → Pin to taskbar.
To unpin: right-click the app on taskbar → Unpin from taskbar.
4. Practical – Managing Files & Folders
Task: Create, rename, move, copy, delete files/folders.
To create a folder:
Right-click on the desktop or inside any drive.
Click New → Folder.
Type the folder name and press Enter.
To create a file:
Right-click → New → choose file type (Text Document, Word document, etc.).
Name the file and press Enter.
2. Renaming Files & Folders
Right-click the file/folder → Rename.
Type the new name → press Enter.
OR
Select the file → press F2 → rename.
3. Copying Files & Folders
Right-click the file/folder → Copy.
Go to the location where you want to paste.
Right-click → Paste. OR
Use Ctrl + C (copy) and Ctrl + V (paste).
4. Moving Files & Folders
Method 1 (Cut–Paste):
Right-click the file → Cut.
Go to the new location → Right-click → Paste. OR
Use Ctrl + X (cut) and Ctrl + V (paste).
Method 2 (Drag–Drop):
Click and drag the file/folder to the new location.
5. Deleting Files & Folders
To delete: To permanently delete:
Select the file/folder → press Delete. · Press Shift + Delete.
Right-click → Delete. · Or empty the Recycle Bin.
The file goes to the Recycle Bin.
5. Practical – Using Control Panel & Utilities
Task: Change display settings, uninstall software, check hardware