Unit 1
Unit 1
OVERVIEW
MCS-041
Block-1
Unit-1
Topics to be covered
Desirable Qualities of OS
and provides common services for computer programs. The operating system is an essential
component of the system software in a computer system. Application programs usually require
convenient to use.
– personal computers
History of Operating Systems
• Multiprogramming system
– three jobs in memory – 3rd generation
Types of Operating system
In a batch processing operating system environment users submit jobs to a central place
where these jobs are collected into a batch, and subsequently placed on an input queue at the
computer where they will be run. In this case, the user has no interaction with the job during
its processing, and the computer’s response time is the turnaround time the time from
submission of the job until execution is complete, and the results are ready for return to the
person who submitted the job.
Real Time Operating System
A real-time operating system (RTOS) is an operating system (OS) intended to serve real-
time application process data as it comes in, typically without buffering delays.
program at a time. The development of such a system, the first type to allow this functionality,
was a major step in the development of sophisticated computers. The technology works by
allowing the central processing unit (CPU) of a computer to switch between two or more
Multiprocessing is the use of two or more central processing units (CPUs) within a single
computer system. The term also refers to the ability of a system to support more than one
Usability: Costs:
Facilities: Adaptability:
DOS (Disk Operating System) was the first widely-installed operating system for
personal computers. It is a master control program that is automatically run when you
start your personal computer (PC). It is a single-user operating system from Microsoft for
the PC. It was the first OS for the PC and is the underlying control program for Windows
3.1, 95, 98 and ME.
UNIX operating systems are used in widely-sold workstation products from Sun
Microsystems, Silicon Graphics, IBM, and a number of other companies. UNIX is
written in C. Both UNIX and C were developed by AT&T and freely distributed to
government and academic institutions. UNIX is made up of the kernel, file system and
shell (command line interface). The major shells are the Bourne shell (original), C shell
and Korn shell.
Examples of Operating Sytems
The Macintosh (often called “the Mac”), introduced in 1984 by Apple Computer, was the
first widely-sold personal computer with a graphical user interface (GUI). The Macintosh
has its own operating system, Mac OS which, in its latest version is called Mac OS X.
The Mac was designed to provide users with a natural, intuitively understandable, and, in
general, “user-friendly” computer interface.
Functions of Operating System
Process Management
Memory Management
File management
Protection
Network management
Command interpretation
Functions of Operating System
Functions of Operating System
Process management
The operating system is responsible for the following activities in connection with processes
management:
• The creation and deletion of both user and system processes
• The suspension and resumption of processes.
• The provision of mechanisms for process synchronization
• The provision of mechanisms for deadlock handling.
Memory Management
The operating system is responsible for the following activities in connection with memory
management.
• Keep track of which parts of memory are currently being used and by whom.
• Decide which processes are to be loaded into memory when memory space
becomes available.
• Allocate and deallocate memory space as needed.
Functions of Operating System
Secondary Storage management
The operating system is responsible for the following activities in connection with disk
management:
• Free space management
• Storage allocation
• Disk scheduling.
I/O management
The operating system is responsible for the following activities in connection to I/O
management:
• A buffer caching system
• To activate a general device driver code
• To run the driver software for specific hardware devices as and when required.
Functions of Operating System
File management
The operating system is responsible for the following activities in connection to the file
management:
• The creation and deletion of files.
• The creation and deletion of directory.
• The support of primitives for manipulating files and directories.
• The mapping of files onto disk storage.
• Backup of files on stable (non volatile) storage.
• Protection and security of the files.
Protection
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.
Functions of Operating System
Networking
A distributed system provides the user with access to the various resources the system
maintains. Access to a shared resource allows computation speed-up, data availability, and
reliability.
Command Interpretation
One of the most important components of an operating system is its command interpreter.
The command interpreter is the primary interface between the user and the rest of the system.
Many commands are given to the operating system by control statements. The command
statements themselves deal with process management, I/O handling, secondary storage
management, main memory management, file system access, protection, and networking.