CACS101 CFA Unit 3
CACS101 CFA Unit 3
Introduction
An operating system is a software that makes the computer hardware to work while the computer hardware
provides ‘raw computer power’, the operating system is responsible for making computer more useful for users.
The operating system provides an interface for users to communicate with computer. It also manages the use of
hardware, resources and enables proper implementation of application programs. In short, the operating system
is the master of control program of a computer.
Input/ CPU
Output
devices
controls operates
Operating
System
handles manages
Files and
Programs directories
1. Process management
It manages the processes running in the computer system process. A process is basically a program that
is being currently run by user or a computer.
Example: A word processor application program such as MS Word runs processes in a computer system.
2. Memory Management.
It manages the memory resources of a computer system. There are various resources of computer
including primary memory or Random-Access Memory (RAM) and secondary memory like CDs and
HDs. All the programs are loaded in the main memory before their execution. It is the function of
operating system to determine how much memory should we provide at each process.
3. File Management
It manages the files and directories of a computer system. A file can be defined as a collection of
information or data that is stored in memory of computer system. Every file has a unique mane
associated with it. The organization of files and directories in a computer system is referred to as file
system. An operating system allows users to create, modify, save or delete files in a computer system.
4. Device Management
The operating system deals with the management of peripheral devices such as printer, mouse and
keyboard attached to a computer system. An operating system interacts with the hardware devices
through a specific device driver. The primary task of the operating system is to manage the input/ output
operation performed by end-users.
5. Security Management.
It ensures security for a computer system from various threats such as virus attack and unauthorized
access. An operating system uses various technique such as authentication, authorization, cryptography,
etc. for ensuring security of a computer system.
Advantages:
a) They were very efficient in their time as idle time for these computers are very less.
b) The OS facilitates execution of jobs in organized manner.
Disadvantages:
a) Jobs are processed only in the order they are places and not per user’s priority.
b) Debugging of a program at execution is not possible.
c) The executing jobs may enter an infinite loop as each job is not associated with proper times.
Advantages
a) Allows resources of computer to be utilized in efficient manner.
b) It enhances the overall productivity of various users by providing simultaneous access to various
computer resources.
Disadvantages
a) It is complex and hence difficult to handle and maintain.
b) It may result in inconsistent data if activities of a user aren’t protected from other users.
c) It is required to have robust security mechanism.
Advantages:
a) It helps in increasing the overall performance of the system.
b) It helps in increasing overall productivity of user by performing number of tasks at the same
time.
Disadvantages
a) Large amount of memory is required to execute several programs at a time.
b) Some mechanisms need to be implemented to ensure that the activity of one process do not
interfere with the activities of other processes.
b) Soft Real-time OS
In Soft Real-time OS, a task can be performed even after its allocated time has elapsed.
Copyright ©| Note Bahadur | All Rights Reserved
Page 5 of 6
Advantages:
a) It is easy to design, develop and execute real-time application under real-time OS.
b) It is usually more compact as compared to other operating system hence requires less memory.
Disadvantages:
a) It is primarily focused on optimizing the execution time of an application and thus it sometimes
overlooks some of other critical factor related to overall efficiency of the computer system.
b) It is used only for providing some dedicated functionality and cannot be used as a general-
purpose OS.
Advantages
a) It helps in improving the overall efficiency and through put of a computer system.
b) It helps in increasing reliability of a computer. If one CPU fails, other CPU takes control and
execute the currently running processes.
Disadvantages:
a) Cost is very high.
b) A large amount of memory is required for running and executing several users program.
Advantages:
a) It allows implementation of embedded system in efficient manner.
b) System with embedded OS is easy to use and maintain.
Disadvantages:
a) It is possible to perform some specific operation with those OS.
b) This OS cannot be used in frequently changing environment.
Being an open source program, program code of an open source operating system are available. The user can
modify these codes and develop a new application according to their requirement. Example: Linux
Linux
It is an open source powerful UNIX based OS which runs on varieties of platforms including Intel, SPARCE
and Power PC. It is a multi-user, multi-tasking, multi-programming operating system mainly popular for server
OS. It is distributed through different distributors such as Red Hat, Mandrate, Open Suse, Ubuntu, Slackware,
Sobayon, Debian, Mandriva, Fedora, Genten, Granular Linux.