OPERATING SYSTEM
An Operating System (OS) is system software that establishes communication between the computer hardware and the user. It controls the overall operations of a computer.
Examples: Windows, Linux, UNIX, DOS, Android.
Definition
An Operating System is system software that manages the hardware and software resources of a computer and provides facilities for the user to operate the computer.
Structure of an Operating System
Main Components of the Structure
1. User Interface: Provides a way for the user to interact with the computer.
2. Kernel: Manages the CPU, memory, and other system resources.
3. Device Driver: Helps the operating system communicate with hardware devices.
4. Hardware: The physical parts of a computer, such as the CPU, RAM, and keyboard.
Functions of an Operating System
1. Memory Management: Manages the computer's memory.
2. Process Management: Controls the execution of programs.
3. File Management: Manages files and folders.
4. Device Management: Controls devices such as printers and keyboards.
5. Security: Protects the computer and its data.
6. User Interface: Provides a way for the user to operate the computer.
7. Error Handling: Detects and handles system errors.
Types of Operating Systems
1. Batch Operating System: Processes jobs in groups.
2. Time-Sharing Operating System: Allows multiple users to share the processing time of a system.
3. Multitasking Operating System: Allows multiple programs to run at the same time.
4. Multiprocessing Operating System: Uses two or more processors.
5. Real-Time Operating System: Responds within a specified time limit.
6. Network Operating System: Manages computers and resources connected through a network.
7. Distributed Operating System: Coordinates the resources of multiple computers to perform tasks.
Some Major Operating Systems
|
Operating System |
Main Uses |
|
DOS |
Operating a computer through commands |
|
Windows |
Personal computers |
|
UNIX |
Servers and multi-user systems |
|
Linux |
Computers, servers, and supercomputers |
|
Android |
Smartphones and tablets |
|
macOS |
Apple's Mac computers |
DOS Operating System
DOS stands for Disk Operating System. It is a command-based operating system. Microsoft's MS-DOS became popular with the IBM PC in 1981.
Features of DOS
1. It is command-line based.
2. It requires less memory to operate.
3. It can run on computers with limited resources.
4. It can manage files and directories.
5. Users need to remember commands to perform tasks.
Disadvantages of DOS
1. It generally does not have a GUI.
2. Remembering commands can be difficult.
3. Its modern multitasking capabilities are limited.
4. Its modern security features are limited.
5. It can be difficult for new users to operate.
10 Major DOS Commands
|
Command |
Function |
|
|
Displays a list of files and folders. |
|
|
Changes the current directory. |
|
|
Creates a new directory. |
|
|
Removes a directory. |
|
|
Copies files. |
|
|
Deletes files. |
|
|
Renames a file. |
|
|
Displays the contents of a text file. |
|
|
Clears the screen. |
|
|
Displays or changes the date. |
Windows Operating System
Windows is a popular operating system developed by Microsoft. Its first version, Windows 1.0, was released in 1985. It introduced a graphical user interface (GUI) to the Windows operating environment.
Features of
Windows
1. It provides a Graphical User Interface (GUI).
2. It can be operated using a mouse and keyboard.
3. It allows multiple programs to run at the same time.
4. Files and folders can be created easily.
5. It supports a wide range of software and hardware.
6. It provides internet, multimedia, and networking facilities.
Why Is Windows
Better Than DOS?
1. Windows uses icons, menus, and windows.
2. Running multiple programs is easier in Windows.
3. Using a mouse makes operations simpler.
4. It provides advanced graphics and multimedia facilities.
5. It offers more advanced security and networking features.
Difference Between DOS and Windows
|
Basis |
DOS |
Windows |
|
Interface |
Command-Line Interface (CLI) |
Graphical User Interface (GUI) |
|
Operation |
Mainly through commands |
Through a mouse and keyboard |
|
Ease of Use |
Comparatively difficult |
Comparatively easy |
|
Multitasking |
Limited |
Available in modern versions |
|
Graphics |
Limited |
Better graphical facilities |
|
Memory |
Can work with limited resources |
Generally requires more resources |
|
Examples |
MS-DOS |
Windows 10, Windows 11 |
UNIX Operating System
UNIX is a multi-user and multitasking operating system. Its development began in 1969 at Bell Laboratories of AT&T.
Features of UNIX
1. Multiple users can work on the system.
2. It can perform multiple tasks simultaneously.
3. It has an organized file and directory structure.
4. It provides security based on user permissions.
5. It is useful for networking and server operations.
6. Several versions and UNIX-like systems are available.
Examples: AIX, HP-UX, and Solaris.
Linux Operating System
Linux is an open-source operating system kernel. Its development was started by Linus Torvalds in 1991. The Linux kernel, together with other software, forms Linux-based operating systems called distributions.
Examples: Ubuntu, Debian, Fedora, and Linux Mint.
Features of Linux
1. Its source code is publicly available.
2. It can be modified and distributed according to its licence.
3. It supports multi-user and multitasking operations.
4. It provides security and user-permission features.
5. It runs on many types of computers and servers.
6. Many Linux distributions are available free of charge.
Disadvantages of Linux
1. Some software applications are not available for Linux.
2. Installing drivers for certain hardware devices can be difficult.
3. Knowledge of command-line operations is required for some tasks.
4. Some popular games and specialized commercial software do not run directly on Linux.
5. The availability of different distributions can make selection difficult for new users.
Comparison of DOS, Windows, and Linux
|
Basis |
DOS |
Windows |
Linux |
|
Interface |
CLI |
GUI |
Both CLI and GUI |
|
Developer |
Microsoft's MS-DOS |
Microsoft |
Linux kernel developed by Linus Torvalds,
with contributions from the open-source community |
|
Uses |
Mainly older PCs and specialized tasks |
Personal computers |
Computers, servers, and supercomputers |
|
Multitasking |
Limited |
Available |
Available |
|
Source Code |
Generally closed source |
Closed source |
Linux kernel source code is open source |
|
Cost |
Depends on the version |
Depends on the licence |
Many distributions are free |
|
Security |
Limited modern security features |
Modern security features |
Strong permission-based security features |
|
Ease of Use |
Commands must be learned |
Generally easy to use |
Desktop use is easy; some tasks require
command-line knowledge |
