Introduction To Computer Operating System Components of A Computer System
Introduction To Computer Operating System Components of A Computer System
Utilities
Operating systems are designed to let you do most of the tasks such as managing
files, loading programs, printing documents etc. Software developers continue to
create new programs called utilities that enhance or extend the OS’s capabilities. As
an OS is improved and updated, the functions provided by the utility programs may
be included with subsequent releases of the OS. Utility programs are usually used to
merge and sort sets of data, keep track of computer jobs being run, compress data
files and perform other important tasks.
Utility programs usually come installed on computer systems, but a number of utility
programs can also be purchased or can be downloaded free from the Internet.
Hardware Utilities
Those utility programs that can check the status of all parts of the PC including hard
disks, memory, modems, speakers and printers.
Disk utilities check the hard disk’s boot sector, file allocation tables and directories
and analyze them to ensure that the hard disk has not been tampered with. They can
also optimize the placement of files on a crowded disk.
Computer viruses from the Internet and other sources can completely disable a
computer. Virus-detection and virus-recovery software can be installed to monitor
and protect the computer. Virus detecting software must be updated regularly as
new viruses introduced all the time. Symantec, McAfee are two companies that
make virus detection and recovery software.
File-Compression Utilities
These programs can reduce the amount of disk space required to store a file or
reduce the time it takes to transfer a file over the Internet. A popular program on
Windows PCs is WinZip. MP3 (Motion Pictures Experts Group Layer 3) is a popular
file-compression format used to store,
transfer and play music. It can compress files 10 times smaller than original with
near-CD- quality sound. Software, such as iTunes from Apple can be used to store,
organize and play MP3 music files.
These monitor hardware and network performance and trigger an alert when a Web
server is crashing or a network problem occurs. Topaz from mercury Inter- active is
an example of software called an advanced Web-performance monitoring utility. It is
designed to sound an alarm when there are problems and also to let network
administrators isolate the most likely problem.
Backup Utilities
Backup utilities allow you to copy large groups of files from your disk to tape or CD
for safekeeping. They also help to organize files, update backups and restore
backups to disk in case of data loss.
Firewall
Intrusion Detection
These notify you of certain types of intrusion attempts. Intrusion detection may be
added as a feature to a firewall or bundled with Internet security programs.
Application Software
The role of an OS
Allow different applications to share resources of a computer
simultaneously(arbitration, multiplexing).
§ An operating system provides orderly and controlled allocation of the
resources among processes (jobs) that are competing for them
virtual machine
• Process Management
• Storage (external) management
• Memory management
• I/O device management
• Management of the File System
• Networking
• User Interface
• Protection
• Error detection and response
§ Hardware errors: memory error or device failure
§ Software errors: arithmetic errors, access forbidden memory
locations
• Accounting
§ collect statistics (billing)
§ monitor performance
Answer
No (unless there is special emulation software or hardware). The software is
typically developed separately for each operating system
Single user
• Allows only a single user to use the OS at any given time. The use may run
several processes at the same time.
Example - DOS
Multi User
• Single user-Multi task- Several programs are run at the same time by a single
user.
• Multi user-Multi task – A multi-user operating system has been designed for
more than one user to access the computer at the same or different time.
• Multi-threading –
A thread is also called a sub process. Threads provide a way to improve
application performance through the parallel execution of sub process.
• Real Time – OS is designed to run applications with very precise timing and
with a high degree of reliability.
• The main objective of real-time operating systems is their quick and predictable
response to events.
Features:
Features
Why multiprogramming?
o Single user cannot keep CPU and I/O devices busy at all times.
o Multiprogramming organizes jobs (code and data) so CPU always has one to
execute.
o A subset of total jobs in system is kept in memory.
o One job selected and CPU is give for that job.
o When it has to wait, OS switches to another job.
o
o Introduced to minimize the response time and maximize the user interaction
during program execution
o Uses context switching
o Enables to share the processor time among multiple programs
o Rapidly switching among programs, credits illusion of concurrent execution
ofmultiple programs
o Processor’s time is shared among multiple users
o Multiple users simultaneously access the system through terminals.
When the computer is switched on, CPU loads the boot program from
ROM(BIOS in PCs).
The main tasks of the boot program.
◦ Checks the essential hardware components and examine the machine
configuration (number of CPUs, capacity of main memory, type of
hardware devices).
◦ Builds a configuration structure.
◦ Loads the OS and provides it the configuration structure.
• OS is also a software like any other, but has to be loaded and run by the OS
itself.
• The process of initializing the computer and loading the OS is known as
bootstrapping or booting the system.
• The bootstrapping program normally exist in non-volatile memory and
is executed automatically when the machine is turned on.
• The operating system software (kernel) copied into RAM, usually from
the hard disk, during the boot-up.
• Once loaded the OS wait for an event to occur (eg: user typing a
command) and process the event.(OS is an event driven software)
• The kernel remains in RAM while the computer is on and is in charge of the
overall operation of the computer system.
• The kernel contains the “internal programs” for the most often used operations
like file management, memory management, security.
BIOS
MS-DOS (PC DOS), which was the dominant PC operating system from the
early 1980s until the mid 1990s, relied on BIOS services for disk, keyboard,
and text display functions.
Modern operating systems ignore the abstraction layer provided by the BIOS
and access the hardware components directly.