CSC 227 Module 3
CSC 227 Module 3
OPERATING SYSTEM
An operating system (OS) can be defined as a set of computer programs that
manage the hardware and software resources of a computer. An operating system
maintains a proper balance between the software and hardware present in a
computer system. It is also called the infrastructure software component of a
computer system due to the fact that it is responsible for the management and
coordination of activities and the sharing of the limited resources of the computer.
The operating system acts as a host for applications that are run on the machine. As
a host, one of the purposes of an operating system is to handle the details of the
operation of the hardware. This relieves application programs from having to
manage these details and makes it easier to write applications. Operating Systems
can be viewed from two points of views: Resource manager and Extended
machines. From Resource manager point of view, Operating Systems manage the
different parts of the system efficiently and from extended machines point of view,
Operating Systems provide a virtual machine to a user that is more convenient to
use.
At the foundation of all system software, an operating system performs basic
tasks such as controlling and allocating memory, prioritizing system requests,
controlling input and output devices, facilitating networking and managing file
systems. The operating system forms a platform for other system software and for
application software. Windows, Linux, and Mac OS are some of the most popular
OS's.
An abstraction occurs when software hides lower level details and provides a set
of higher-level functions. An operating system transforms the physical world of
devices, instructions, memory, and time into virtual world that is the result of
abstractions built by the operating system. There are several reasons for
abstraction.
First, the code needed to control peripheral devices is not standardized.
Operating systems provide subroutines called device drivers that perform
operations on behalf of programs for example, input/output operations.
Second, the operating system introduces new functions as it abstracts the
hardware. For instance, operating system introduces the file abstraction so that
programs do not have to deal with disks.
Third, the operating system transforms the computer hardware into multiple
virtual computers, each belonging to a different program. Each program that is
running is called a process. Each process views the hardware through the lens of
abstraction. Fourth, the operating system can enforce security through
abstraction.
An operating system controls how processes (the active agents) may access
resources (passive entities).
The user interacts with the operating systems through the user interface and
usually interested in the “look and feel” of the operating system. The most
important components of the user interface are the command interpreter, the
file system, on-line help, and application integration. The recent trend has been
toward increasingly integrated graphical user interfaces that encompass the
activities of multiple processes on networks of computers.
3.3 Types of OS
A. Types of Operating Systems Based on the Types of Computer they Control and
the Sort of Applications they Support
Based on the types of computers they control and the sort of applications they
support, there are generally four types within the broad family of operating systems.
The broad categories are as follows:
As the name implies, this operating system is designed to manage the computer
so that one user can effectively do one thing at a time. The Palm OS for Palm
handheld computers is a good example of a modern single-user, single-task
operating system.
This is the type of operating system most people use on their desktop and laptop
computers today. Windows 98 and the Mac O.S. are both examples of an
operating system that will let a single user have several programs in operation at
the same time.
4. Multi-User Operating Systems
B. Types of OS based on the Nature of Interaction that takes place between the
Computer User and His/Her Program during its Processing
Modern computer operating systems may be classified into three groups, which are
distinguished by the nature of interaction that takes place between the computer
user and his or her program during its processing. The three groups are: called batch,
time-shared and real time operating systems.
1. Batch Processing OS
2. Time Sharing OS
3. Real Time OS
The third class of operating systems, 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. Examples of real time
operating systems are those which handle airlines reservations, machine tool
control, and monitoring of a nuclear power station. The systems, in this case, are
designed to be interrupted by external signal that require the immediate
attention of the computer system. In fact, many computer operating systems are
hybrids, providing for more than one of these types of computing service
simultaneously. It is especially common to have a background batch system
running in conjunction with one of the other two on the same computer.
File management: An operating system deals with the storage of file of various
storage devices to another. It also allows all files to be easily changed and
modified through the use of text editors or some other files manipulation
routines.
System crashes and instabilities - These can happen due to a software bug
typically in the operating system, although computer programs being run on
the operating system can make the system more unstable or may even crash
the system by themselves. This varies depending on the type of operating
system. A system crash is the act of a system freezing and becoming
unresponsive which would cause the user to need to reboot.
Security flaws - Some software errors leave a door open for the system to be
broken into by unauthorized intruders. As these flaws are discovered,
unauthorized intruders may try to use these to gain illegal access to your
system. Patching these flaws often will help keep your computer system
secure. How this is done will be explained later.
Sometimes errors in the operating system will cause the computer not to
work correctly with some peripheral devices such as printers.