You are on page 1of 4

BLOCK 1 UNIT 1

OPERATING SYSTEM: AN OVERVIEW

Q1. What is an operating system?


Ans: An operating system is a collection of programs that acts as an interface between
a user of a computer and the computer hardware. Some of the operating system functions
are: implementing the user interface, sharing hardware among users, allowing users to
scheduling resources among users, facilitating input or output, recovering from errors,
accounting for resources usage, facilitating parallel operations, organizing data for secure
and rapid access and handling network communications.

Q2. What are the functions of operating system?


Ans: The functions of operating system are given below:
1) Should act as a command interpreter by providing a user friendly environment.
2) Should facilitate communication with other users.
3) Facilitate the directory or file creation along with the security option.
4) Provide routines that handle the intricate details of I/O programming.
5) Provide access to compilers to translate programs from high level language to
machine language.
6) Provide a loader program to move the compiled program code to the computers
memory for execution.
7) Assure that when there are several active processes in the computer, each will get fair
and non-interfering access to the central processing unit for execution.
8) Take care of storage and devices allocation.
9) Provide for long term storage of user information in the form of files.
10) Permit system resources to be shared among users when appropriate, and be protected
from unauthorized or mischievous intervention as necessary.

Q3. What are the goals of operating system?


Ans: The goals of operating system are given below:
(a) The primary goal of an operating system is to make the computer convenient to use.
(b) The secondary goal is to use the hardware in an efficient manner.

Q4. Explain the generations of operation systems.


Ans: The generations of operating system are given below:
(a) 0th Generation
Early programs were written in machine language and each contained code for initiating
operation of the computer itself. The mode of operation was called “open-shop” and this
meant that users signed up for computer time and when a user’s time arrived, the entire
(in those days quite large) computer system was turned over to the user. This system was
clearly inefficient and dependent on the varying competencies of the individual
programmer as operators.
(b) First Generation (1951 – 1956)
The first generation marked the beginning of commercial computing. The first generation
was characterized again by the vacuum tube as the active component technology. The
mode was called closed shop and was characterized by the appearance of hired operators
who would select the job to be run, initial program load the system, run the user’s
program and then select another job and so forth. Programs began to be written in higher
level, procedure oriented languages and thus the operator’s routine expanded.
(c) Second Generations (1956 – 1964)
The second generation of computer hardware was most notably characterized by
transistors replacing vacuum tubes as the hardware components technology. Program
processing was, for the most part, provided by large centralized computers operated
under mono-programmed batch processing operating systems. Toward the end of this
period, as random access devices became available, tape oriented operating system began
to be replaced by disk oriented systems. The second generation was a period of intense
operating system development.
(d) Third Generations (1964 – 1979)
The third generation officially began in April 1964 with IBM’s announcement of its
System 360 family of computers. Hardware technology began to use integrated circuits
which yielded significant advantages in both speed and economy. The third generation
was an exciting time, indeed, for the development of both computer hardware and the
accompanying operating system. During this period, the topic of operating system
became in reality a major element of the discipline of computing.
(e) Fourth Generation (1979 – Present)
The fourth generation is characterized by the appearance of the personal computer and
the workstation. Miniaturization of electronic circuits and components continued and
large scale integration (LSI) the component technology of the third generation was
replaced by very large scale integration (VLSI) which characterizes the fourth generation.
VLSI with its capacity for containing thousands of transistors on a small chip, made
possible the development of desktop computers with capabilities exceeding those that
filled entire rooms and floors of building just twenty years earlier.

Q5. Explain the different types of operating system?


Ans: The different types of operating system are explained below:
(a) Bath Processing Operation 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 when they will be run.
(b) Time Sharing Operating System
Another mode for delivering computing services is provided by time sharing operating
systems. In this environment a computer provides computing services to several or many
users concurrently on-line.
(c) Real Time Operating System
Real time operating systems are designed to service those applications where response
time is of the essence in order to prevent error, misrepresentation or even disaster. These
real time operating systems are used to control machinery, scientific instruments and
industrial systems.
(d) Multiprogramming Operating System
A multiprogramming operating system is a system that allows more than one active user
program or part of user program to be stored in main memory simultaneously.
(e) Multiprocessing Operating System
A multiprocessing system is a computer hardware configuration that includes more than
one independent processing unit. The term multiprocessing is generally used to refer to
large computer hardware complexes found in major scientific or commercial applications.
(f) Networking Operating System
A networked computing system is a collection of physical interconnected computers. The
operating system of each of the interconnected computers must contain in addition to its
own stand alone functionality, provisions for handling communication and transfer of
program and data among the other computers with which it is connected.
(g) Distributed Operating System
The networked and distributed computing environments and their respective operating
systems are designed with more complex functional capabilities. In a network operating
system, the users are aware of the existence of multiple computers, and can log in to
remote machines and copy files from one machine to another. Each machine runs its own
local operating system and has its own user or users.
(h) Distributed Operating System
A distributed operating system, in contrast, is one that appears to its users as a traditional
uni-processor system, even though it is actually composed of multiple processors. In a
true distributed system, users should not be aware of where their programs are being run
or where their files are located; that should all be handled automatically and efficiently by
the operating system.

Q6. What are the desirable qualities of operating system?


Ans: The desirable qualities of operating system are given below:
 Usability – Robustness, Accept all valid inputs and can handle them, consistency,
proportionality, convenience, powerful with high level facilities.
 Facilities – Sufficient for intended use, complete, appropriate.
 Costs – Want low cost and efficient services, good algorithms, make use of space or
time tradeoffs, special hardware, low overhead, cost of doing nothing should be low, low
maintenance cost; system should not require constant attention.
 Adaptability – Tailored to the environment, support necessary activities. Do not
impose necessary restrictions, changeable over time, extendible and extensible.

Q7. What are the functions of operating system related to process management?
Ans: The CPU executes a large number of programs. While its main concern is the
execution of user programs, the CPU is also needed for other system activities. These
activities are called processes. A process is a program in execution. Typically a batch job
is a process. A time shared user program is a process. The operating system is responsible
for the following activities in connection with processes management:
(a) The creation and deletion of both user and system processes.
(b) The suspension and resumption of processes.
(c) The provision of mechanisms for process synchronization.
(d) The provision of mechanisms for deadlock handling.

Q8. What are the functions of OS in connection with memory management?


Ans: Memory is the most expensive part in the computer system. Memory is a large
array of words or bytes, each with its own address. The operating system is responsible
for the following activities in connection with memory management:
(a) Keep track of which parts of memory are currently being used and by whom.
(b) Decide which processes are to be loaded into memory when memory space becomes
available.
(c) Allocate and de-allocate memory space as needed.

Q9. What are the functions of OS related to I/O management?


Ans: The operating system is responsible for the following activities in connection to
I/O management:
(a) A buffer caching system.
(b) To activate general device driver code.
(c) To run the driver software for specific hardware devices as and when required.

Q10. What are the functions of OS related to file management?


Ans: File management is one of the most visible services of an operating system.
Computers can store information in several different physical forms: magnetic tape, disk
and drum are the most common forms. Each of these devices has its own characteristics
and physical organization. The operating system is responsible for the following activities
in connection to the file management:
(a) The creation and deletion of files.
(b) The creation and deletion of directory.
(c) The support of primitives for manipulating files and directories.
(d) The mapping of files onto disk storage.
(e) Backup of files on stable (non-volatile) storage.
(f) Protection and security of the files.

Q11. Explain the functions of operation in connection the followings:


(a) Protection
The various processes in an operating system must be protected from each other
activities. For that purpose, various mechanisms which can be used to ensure that the
files, memory segment, CPU and other resources can be operated on only by those
processes that have gained proper authorization from the operating system.
(b) Networking
A distributed system is a collection of processors that do not share memory or a clock.
Instead, each processor has its own local memory and the processors communicate with
each other through various communication lines, such a high speed buses or telephone
lines.
(c) 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.

You might also like