operating system
DESCRIPTION
ppt on operating systemTRANSCRIPT
![Page 1: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/1.jpg)
OPERATING SYSTEM
![Page 2: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/2.jpg)
?What is Operating System…?
![Page 3: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/3.jpg)
Operating system is a System Software
Act as interface b/w User and the Hardware
Organized set of programs Controls & manage computer
resources(H/W, S/W)
Schedules task, manage storage
What is Operating System…?
![Page 4: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/4.jpg)
Application
Operating System
RAM
Hardware
Keyboard
Printer
Drives Monitor
![Page 5: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/5.jpg)
Making a computer system convenient to use.
Managing the resources.
Primary objectives of Operating System
![Page 6: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/6.jpg)
Characteristics of operating System
Is a Program
Executes at all time
Act as Platform
Act as police
Provides Services
![Page 7: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/7.jpg)
Functions of Operating System
Process Management
Memory Management
File Management Security
Command Interpretation
Device Management
![Page 8: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/8.jpg)
Process is a program in execution. OS manages creation & deletion of
processes. Methods for process management
are:- Manual loading mechanism Batch processing Multiprogramming Multiprocessing
Process Management
![Page 9: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/9.jpg)
Programmer writes the program. Programs are then punched on punch card. Cards are submitted to computer centre. Cards & data were manually loaded. Result of execution of the job was printed on the punch cards.
Process of Management in Early Systems
![Page 10: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/10.jpg)
Takes care of main memory Deals with part of memory in use
& the memory part which is not in use
Allocates memory to processes & de-allocate
when they are done
Memory Management
![Page 11: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/11.jpg)
File is a collection of related info. Manages file stored on the disk. Provides functions to delete, copy,
move, rename and view files. Backup of files on stable(non volatile)
storage. File access methods :-
Sequential Access Files Random Access Files
File Management
![Page 12: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/12.jpg)
Protect resources and information against destruction & unauthorized access
Types of Security:- External Security
o Adequate back-up datao Excess of sensitive information only
Internal Securityo User authenticationoAccess control
Security
![Page 13: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/13.jpg)
Manages the peripheral devices. Accepts input from the user and give
corresponding output. Consist of policies and procedures
for handling I/O devices.
Device Management
![Page 14: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/14.jpg)
Act as primary interface between the user & the rest of the system.
Understands & executes commands entered by human beings.
Command Interpretation
![Page 15: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/15.jpg)
Types of Operating
System
Batch processing Multi-
programming
Time-sharing
Network OSOn-line & Real
time OS
Distributed OS
Multi- processor
Multi-tasking
![Page 16: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/16.jpg)
Effective form of processing. Programs are prepared Offline. Groups of programs are collected
together & are processed one by one. Advantage:-Reduces computer idle time. Disadvantage:- Large turn around time.
Batch processing
![Page 17: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/17.jpg)
Programmer prepares their programs and data on deck of cards.
Operator periodically collect the submitted programs and would batch them together.
Batched programs were loaded into input device.
Operator gives command to start executing the jobs.
Jobs automatically loads from the input device.
After process, operator separates and keep the printed output.
Steps in Batch Processing
![Page 18: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/18.jpg)
How the computer separates one job from another from a batch of jobs for automatic job-to-job transaction ?
How does the system know which complier or what hardware devices are to be used by a particular job when there is no operator interventions ?
Ans:- Control Statements and Job Control Statement (JCLs)
Some questions…….?
![Page 19: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/19.jpg)
CS and JCL are used by the operating system to identify a new job and to determine resource need.
Control cards are indentified by a special character or pattern on the card.
JCL tells the OS things such as :- the name of the job the user’s name the I/O devices used during processing. the complier or the assembler to be used.
Job Control Statements
![Page 20: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/20.jpg)
Uniprogramming System
User Job
Operating System
CPU
OS area
UserProgra
marea
Main Memory
Execu
tion
in
pro
gre
ss
A Uniprogramming system model in which only one job is processed by the system at a time and all the system resources are exclusively available for the job until it completes.
![Page 21: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/21.jpg)
Is a interleaved execution of two or more programs by the same computer.
One or more programs are executed at the same time.
Different scheduling techniques are:- First come first serve Round robin (RR) Shortest job first (SJF)
Multiprogramming System
![Page 22: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/22.jpg)
Multiprogramming System
Operating System
Job A
Job BJob C
(Writing for CPU)
CPUExecution in Progress
Writing O/P data
Main Memory
Secondary Disk Storage
![Page 23: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/23.jpg)
Multiprogramming System
New
Job
Ready
Blocked
Running
Job is allocated the CPU for execution
I/O comple
ted
Job must wait for
I/O completi
on
Job process
ing comple
ted
Three different stages of Job
![Page 24: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/24.jpg)
It is the system capability to concurrently work on more than one task.
Same as multiprogramming. Multitasking is referred in
context to single user.
Multitasking System
![Page 25: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/25.jpg)
Multiprocessing system is a integrated system.
Two or more CPU is present. Simultaneously execute several programs.
Multiprocessing System
I/O UnitsI/O
ProcessorCPU
I/O Units
Architecture of a computer system showing its CPU, memory & I/O processors
![Page 26: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/26.jpg)
Multiprocessing systems are of two types:- Tightly coupled systems Loosely coupled systems.
Multiprocessing System
I/O Units
CPU -1
I/O processors
I/O Units
Main memory
CPU-2
I/O processors
Basic Org. of a physical multiprocessing System.
![Page 27: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/27.jpg)
Is a mechanism to provide simultaneous interactive use of computer system.
There are many terminals connected to the same computer.
CPU scheduling algorithm is used. Concept of Time Slice is used.
Time Sharing System
![Page 28: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/28.jpg)
Time Sharing System
New
Job
Ready
Blocked
Running
Job is allocated the CPU for execution
I/O comple
ted
Job must wait for I/O completion
Job process
ing comple
ted
The process state diagram for a time-sharing system
Allocated time slice is over
![Page 29: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/29.jpg)
Consists of entering transaction data and viewing the results immediately.
Airline reservation, Railway reservation, & banking are some of the examples.
These OS cannot be modified as it support single application.
Online Operating System
![Page 30: operating system](https://reader033.vdocuments.site/reader033/viewer/2022060109/55583e55d8b42acb078b4dd2/html5/thumbnails/30.jpg)
Thank You
for giving me such a nice project