Operating System Notes MCA BPUT
Operating System Notes MCA BPUT
Operating System Notes MCA BPUT
Definition of OS:
An Operating System (OS) is an interface between a computer user and
computer hardware. An operating system is a software which performs
all the basic tasks like file management, memory management, process
management, handling input and output, and controlling peripheral
devices such as disk drives and printers.
1|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
2|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
• Program execution
• I/O operations
• File System manipulation
• Communication
• Error Detection
• Resource Allocation
• Protection
Program execution
Operating systems handle many kinds of activities from user programs to system
programs like printer, name servers, file server, etc. Each of these activities is
encapsulated as a process.
A process includes the complete execution context (code to execute, data to
manipulate, registers, OS resources in use).
3|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
I/O Operation
An I/O subsystem comprises of I/O devices and their corresponding driver software.
Drivers hide the peculiarities of specific hardware devices from the users.
I/O operation means read or write operation with any file or any specific I/O device.
Communication
• Two processes often require data to be transferred between them
• Both the processes can be on one computer or on different computers, but
are connected through a computer network.
• Communication may be implemented by two methods, either by Shared
Memory or by Message Passing.
Error handling
• The OS constantly checks for possible errors.
• The OS takes an appropriate action to ensure correct and consistent
computing.
Resource Management
• The OS manages all kinds of resources using schedulers.
• CPU scheduling algorithms are used for better utilization of CPU.
Protection
• The OS ensures that all access to system resources is controlled.
• The OS ensures that external I/O devices are protected from invalid access
attempts.
• The OS provides authentication features for each user by means of
passwords.
4|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
10. Job accounting: Keeping track of time & resource used by various job
and users.
5|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
Evolution of OS
Evolution of OS since 1950 described in detail in this article.
Here we will discuss six main operating system types evaluated
over the past 70 years.
Serial Processing
History of the operating system started in 1950. Before 1950, the
programmers directly interact with the hardware there was no
operating system at that time. If a programmer wishes to
execute a program on those days, the following serial steps are
necessary.
6|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
Drawback:
Batch Processing
Before 1960, it is difficult to execute a program using a
computer because of the computer located in three different
rooms, one room for the card reader, one room for executing
the program and another room for printing the result.
Multiprogramming
Multiprogramming is a technique to execute the number of
programs simultaneously by a single processor. In
multiprogramming, a number of processes reside in main
memory at a time. The OS(Operating System) picks and begins
7|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
Advantages:
8|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
Advantages:
Parallel System
There is a trend multiprocessor system, such system have more
than one processor in close communication, sharing the
computer bus, the clock, and sometimes memory and peripheral
devices.
9|Page
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
Advantages:
Distributed System
In a distributed operating system, the processors cannot share
a memory or a clock, each processor has its own local memory.
The processor communicates with one another through various
communication lines, such as high-speed buses. These systems
are referred to as "Loosely Coupled" systems.
Advantages:
10 | P a g e
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
11 | P a g e
Contact: 7008443534, 9090042626
Subject: Operating System
Created By: Asst. Prof. SK ABDUL ISRAR College: ABA, BLS
12 | P a g e
Contact: 7008443534, 9090042626