ICT Lesson 5 - Operating Systems
ICT Lesson 5 - Operating Systems
The user interacts with the application programs, which in turn interacts with the hardware via
the operating system. The purpose of the operating system is to provide an environment in which
a user can execute programs. It controls the use of hardware among the various system programs
and application programs for various users while providing an environment within which other
programs can do useful work.
Figure 2: Relationship between hardware, system software, application software and end users, the positioning of the OS in the
overall computer system
From the diagrams above one is able to see that the operating system directly controls the
computer hardware resources. Other programs rely on facilities provided by the operating system
to gain access to the computer systems. Some of the commonly used operating systems include,
Microsoft Disk Operating System(MS-DOS), Windows family of OS, Linux, Mac OS, Unix,
OS/2, Android, OSF- 1, Solaris, IRIX, OS2, OS/39,0 VMS etc.
Secure: A secure operating system prevents users and software from accessing service
and resources without authorization. Protection refers to the mechanisms that
implements the system’s security policy.
Usable: A usable operating system is one that has the potential to serve a significant user
base. These operating systems generally provide an easy to use user interface. Operating
systems such as Linux, Windows XP and MacOS X are characterized as usable operating
systems because each supports a large set of applications and provides standard user
interfaces.
Convenient: A convenient operating system should make a computer more convenient
and easy to use by hiding the working of hardware from the user. It should also allow the
sharing of resources and at the same time achieve its overall objectives. The operating
system must be in complete control of resource allocation and comfortably achieve a
balance between user requirements and performance constraints.
Predictable: A predictable operating system’s services should not vary widely over
extended periods of time. The user should have a rough idea of what to expect from the
computer system or its behavior.
Interactive: An interactive operating system allows applications respond quickly to user
actions or events.
what part of memory are in use and by whom, and what parts are free. Programs (or parts
of programs) must be loaded into memory before they can be executed and moved out of
memory when no longer required. Storage space must also be provided for data generated
by programs and during data transfer operations such as copying to disk or printing.
File Management: The operating system is responsible for creation and deletion of files
and directories. It also takes care of other file-related activities such as organizing,
storing, retrieving, naming, and protecting the files. It also keeps track of the information,
its location, use, status etc. It achieves this through a facility called the file system. A file
system is concerned with the logical organization of the information and provides a
means for starting, retrieving and sharing of files.
Device Management: Operating system provides input/output subsystem between
process and device driver. Programs will request the use of input/output devices during
the course of their execution and in multiuser systems conflicts are bound to arise, when a
device being utilized by one program is requested by another. The operating system will
control allocation of I/O devices and attempt to resolve any conflicts which arise. It will
also monitor the state of each I/O device and signal any faults detected.
User Interface: Operating system provides the interface between the user and the
hardware. The user interface is the layer that actually interacts with the computer
operator. The interface consists of a set of commands or menus through which a user
communicates with a program.
Resource management and allocation: Operating Systems allocates computer resources
such as CPU time, main memory, secondary storage, and input and output devices for
use. Each resource is given a unique identification number called an interrupt number for
recognition hence when two tasks request to use a resource at the same time the higher
priority interrupt is granted control.
Error handling: The operating system has many ways of alerting the user of errors that
may rise out of illegal operations, hardware or software failure. Most operating systems
express what the error is and where possible make suggestions on how to correct the
error. The operating system does this by monitoring the status of the computer system
and performing audit checks on users, hardware and software and produces dumps,
traces, error messages, and other debugging and error detecting aids.
Logging and accounting: The operating system keeps track of computer system time
and resources used by various jobs and users. A log of the tasks carried out by the
computer is kept. It also keeps internal logs on the CPU time, memory usage, peripherals
being used etc. as well as a complete record of all that happens during processing.
Recording delays between request for a service and response from the system.
Security Management: The operating system protects system resources and information
against destruction and unauthorized use.
Coordination between other software and users: Coordination and assignment of
compilers, interpreters, assemblers and other software to the various users of the
computer systems.
Based on the number of tasks handled, the operating system is classified into two categories
namely:
Single tasking: This operating system allows only one task or program to be executed or
processed in the main memory at a time, e.g. MS-DOS.
Multitasking: This is operating system allows several tasks or programs to be processed
in the main memory at a time. This is achieved by allocating time slice for each task thus
the tasks are processed apparently at the same time, e.g. Windows (95,98, NT,2000, XP,
Vista,7 and 8), UNIX, Novell or Macintosh.
Based on the number of users handled, the operating system is classified into two categories
namely:
Single user: This operating system allows only one person to interact with the computer
at time, e.g. MS DOS.
Multiuser: This operating system allows two or more users to actively interact with the
computer at a time, e.g. Windows ((95,98, NT,2000, XP, VISTA,7 and 8), UNIX, Novell
or Macintosh.
According to the type of human computer interface or user interface, the operating system is
classified into three categories namely:
Command line interface: This operating system allows the user to interact with the
computer by providing a command prompt interface where the user types the commands
to execute the command. The user must memorize the commands hence; it is not user
friendly, e.g. MS DOS.
Menu driven interface: This operating system provides the user with a set of list of
options called menu, where the user can choose from. The user does not have to
memorize the commands, e.g. DOS shell or DOS editor.
Graphical User Interface (GUI): Graphical User Interfaces (GUI) is the latest effort to
make the user interface more user friendly. It implements the WIMP concept which
stands for Windows, the rectangular works areas, Icons, graphical objects or small
pictures that represent commands, files or windows or programs, which act as a shortcut
to an action the computer performs (e.g. execute a program or task), Menus, text or icon-
based selection systems that select and execute programs or tasks and Pointer, an on
screen symbol that appears on the display screen and that a user moves to select objects
and commands. This operating system allows the user to enter commands by pointing and
clicking on the icons displayed on the screen. The end user will choose the command
needed for a task by clicking on the appropriate icon using a mouse or touching with a
7 Complied by Mr. P.K Munene
ICT Lesson 5 – Operating systems
finger for touch screens, e.g. Windows (95,98, NT, 2000, XP, Vista, 7 and 8), UNIX,
Novell or Macintosh.
References
1. C.S French (2001) Data processing and information technology. Martins the printers Ltd.
5. Dr John Onunga and Renu Shah (2008) Computer Studies Book 1. Mariwa publishers
Ltd.