Sunteți pe pagina 1din 4

OPERATING SYSTEM

Introduction
The operating system is the most important program that runs on acomputer. Every generalpurpose computer must have an operating system to run other programs and applications.
Operating systems perform basic tasks, such as recognizing inputfrom the keyboard,
sending output to the display screen, keeping track of files and directories on the disk, and
controlling peripheral devices such as disk drives and printers.
For large systems, the operating system has even greater responsibilities and powers. It is like a
traffic cop -- it makes sure that different programs and users running at the same time do not
interfere with each other. The operating system is also responsible for security, ensuring that
unauthorized users do not access the system.

Objectives
A program that controls the execution of application programs. An interface between
applications and hardware. The following are the objectives of operating system

Convenience

Efficiency

Makes the computer more convenient to use

Allows computer system resources to be used in an efficient manner

Ability to evolve

Permit effective development, testing, and introduction of new system

functions without interfering with service

Functions
Following are some of important functions of an operating System.

Memory Management

Processor Management

Device Management

File Management

Security

Control over system performance

Job accounting

Error detecting aids

Coordination between other software and users


Memory Management
Memory management refers to management of Primary Memory or Main Memory. Main
memory is a large array of words or bytes where each word or byte has its own address.

Main memory provides a fast storage that can be access directly by the CPU. So for a program to
be executed, it must in the main memory. Operating System does the following activities for
memory management.

Keeps tracks of primary memory i.e. what part of it are in use by whom, what part are not
in use.

In multiprogramming, OS decides which process will get memory when and how much.

Allocates the memory when the process requests it to do so.

De-allocates the memory when the process no longer needs it or has been terminated.
Processor Management
In multiprogramming environment, OS decides which process gets the processor when and how
much time. This function is called process scheduling. Operating System does the following
activities for processor management.

Keeps tracks of processor and status of process. Program responsible for this task is
known as traffic controller.

Allocates the processor(CPU) to a process.

De-allocates processor when processor is no longer required.


Device Management
OS manages device communication via their respective drivers. Operating System does the
following activities for device management.

Keeps tracks of all devices. Program responsible for this task is known as the I/O
controller.

Decides which process gets the device when and for how much time.

Allocates the device in the efficient way.

De-allocates devices.
File Management

A file system is normally organized into directories for easy navigation and usage. These
directories may contain files and other directions. Operating System does the following activities
for file management.

Keeps track of information, location, uses, status etc. The collective facilities are often
known as file system.

Decides who gets the resources.

Allocates the resources.

De-allocates the resources

Types
There are different types of operating systems. These are as follows:
1. Real-time Operating System: It is a multitasking operating system that aims at executing
real-time applications.
2. Multi-user and Single-user Operating Systems: The operating systems of this type allow a
multiple users to access a computer system concurrently.
3. Multi-tasking and Single-tasking Operating Systems:When a single program is allowed to
run at a time, the system is grouped under a single-tasking system, while in case the operating
system allows the execution of multiple tasks at one time, it is classified as a multi-tasking
operating system.
4. Distributed Operating System: An operating system that manages a group of independent
computers and makes them appear to be a single computer is known as a distributed operating
system.
5. Embedded System: The operating systems designed for being used in embedded computer
systems are known as embedded operating systems.

S-ar putea să vă placă și