MCS - 041 Block 1 Unit 1 Operating Systems An Overview
MCS - 041 Block 1 Unit 1 Operating Systems An Overview
By Kirit A. Dhabalia
Content
Purpose of OS Goals of OS Evolution of OS Various Functions Performed By OS Various Types of OS Structures of OS
What Is An OS?
Four main components
Hardware OS Application Software Users
The OS controls and coordinates the use of the hardware among the various systems programs and application programs for the various users
What Is An OS?
Resource Allocator
Hardware and Software CPU Time Memory Space Files Storage Space Input / Output Devices
Abstract View of the Components of a computer System Computer Hardware Request Compiler Assembler User 1 User 2
User 3 User n
Response
Content
Purpose of OS Goals of OS Evolution of OS Various Functions Performed By OS Various Types of OS Structures of OS
0th Generation
ENIAC (Electronic Numerical Integrator And Computer) (The Giant Brain) By John Mauchly EDVAC (Electronic Discrete Variable Automatic Computer) by John Von Neumann 1944-46 The development of EDVAC set the stage for the evolution of commercial computing and operating system software Open-shop
MCS - 022
Desirable Qualities of OS
Usability Robustness Accept all valid inputs and can handle them Facilities Sufficient for intended use Complete
Consistency
Proportionality Convenience Powerful with high level facilities Adaptability Tailored to the environment Changeable over time Extendible - extensible
Appropriate
Costs Want low cost and efficient services Good algorithm Low overhead Low maintenance cost
OS - Examples
DOS UNIX Windows Macintosh OS used by its users
Command language :- interact with os using commands System call :- invoke services of the os by means of run time system calls during the execution of programs
Functions of OS
Process Management Memory Management Secondary Storage Management I/O Management File Management Protection Networking Management Command Iterpretation
Function Protection
Various processes in an OS must be protected from each others activities Peripherals can be operated only after gaining proper authorization from the OS Memory addressing hardware ensures that a process can only execute within its own address space The timer ensures that no process can gain control of the CPU without relinquishing it
Function Protection
No process is allowed to do its own I/O, to protect the integrity of the various peripheral devices Protection refers to a mechanism for controlling the access of programs, processes or users to the resources defined by a computer controls to be imposed, together with some means of enforcement Protection can improve reliability by detecting latent errors at the interfaces between component subsystems An unprotected resource cannot defend against use (or misuse) by an unauthorised or incompetent user.
Operating System
User Interface
Networking
Memory Management