1.5 System Software
1.5 System Software
1 Operating system
in
sa
us
H
a q
ht
us
-M
M
Summary
Batch Processing:
When computing was still a new science, there were not enough machines to satisfy
the demand for processor time from students in universities who wanted great
calculations done, firms who wanted their payroll worked out, and many others.
The big problem was the ‘speed mismatch’ between the user sitting at the keyboard
who was very slow, and the machine which was very fast. This meant that the
expensive part, the computer, was sitting there doing nothing while the human
being decided what to do. There are two simple solutions to this problem, one is to
buy more machines and the other is to make the machines work more effectively
by taking away the slowest part of the system “the human being”. Nowadays we
might well opt to buy more machines, but was too costly in the past. This problem
gave rise to the development of batch processing.
A Batch processing OS is one that does not allow for interaction between the user
in
and the processor during the execution of the work. Lots of programs or data that
sa
need to be run are collected together (to form a batch) and they are sent to the
computer in one go. The batch operating system then controls their passage
through the computer. us
H
Nowadays, batch processing is used where:
q
Real-time processing:
A real-time O.S. is one which can react quickly enough to a process and get ready
for the next input or process to be carried out.
The following examples of real-time applications show why immediate response can
be vital:
Single user
A single user operating system controls a system which has only one user and their
programs at one time. A perfect example of a single user system is the one that
in
you may have at home. Only one person uses it at a time. Most single user systems
are also multi-tasking.
sa
Multi-user
us
This type of operating system allows the computer to service more than one user
H
simultaneously. A multi-user OS has a single (normally powerful) computer which is
connected to a number of terminals. These terminals are not computers, although
they may have a very limited amount of processing power.
a q
The computer sends a message to each of the terminals in turn which is called a
ht
time-share or a round robin system. Each of the small amount of time is called a
“time slice”.
us
Multi-tasking
-M
same time. e.g. spreadsheet along with a word processing application and browsing
internet as well as playing music etc.
The OS can switch between tasks so quickly that it seems to the user as if they are
all being done at once. The tasks are allocated time slices similar to multi-user OS.
Network OS
Disk formatter
When a disk is first produced the surface is blank. It cannot be used to store data
until it has been formatted by disk formatter software. The formatting process
divides the disk into smaller areas, each of which can be searched more easily.
The disk surface is divided into a number of tracks an each track is divided into
smaller blocks called sectors.
in
sa
us
The amount of information that can be stored is enormous. One of the tracks is
used as an index to hold data about where the other data are stored. The
H
formatting process removes all data from the disk so you should save the contents
of a disk elsewhere before re-formatting it.
a q
Virus checker
ht
computer system, a virus can cause a range of damage including deleting files.
-M
It is crucial that the virus dictionary is kept up-to-data o a daily basis as new
viruses are constantly appearing.
Defragmenter software
Disk checker software can scan a hard disk to find files or areas that are corrupted
in some way, or were not correctly saved, and eliminate them for a more efficiently
operating hard drive. This is not to be confused with a disk cleaner, which can find
Some disk checkers can perform a whole surface to attempt to find any
possible bad sectors, whereas others scan only the contents of the hard disk.
File compression
Files containing video information are usually large in size. File compression
software reduces the size of a file by cutting out much of the duplication of data in
the file.
If file is to be sent electronically e.g. a an email attachment, you can use a utility
(such as WinZip) to compress .files may also be compressed to save space on a
secondary storage device.
Backup software
in
Files on a computer need to be protected from being damaged. A backup or
sa
archiving utility is a simple routine that copies the contents of files to another
location. If the original file is damaged, the copy can be used to replace it.
separate parts for storage on smaller, removable media such as CDs. It was
a
ht
often used because CDs were easy to transport off-site and inexpensive
compared to hard drives or servers. However, the recent increase in hard
us
drive capacity and decrease in drive cost has made voluming a far less
-M
popular solution
Data compression: Since hard drive space has cost, compressing the data will
M
reduce the size allowing for less drive space to be used to save money.
Differential and incremental backups:Backup solutions generally
support differential backups and incremental backups in addition to full
backups, so only material that is newer or changed compared to the backed
up data is actually backed up. The effect of these is to increase significantly
the speed of the backup process over slow networks while decreasing space
requirements.
Encryption: To prevent data theft, some backup software offers cryptography
features to protect the backup.
What is DLL?
A DLL is a library that contains code and data that can be used by more than one
program at the same time. For example, in Windows operating systems, the
Comdlg32 DLL performs common dialog box related functions. Therefore, each
program can use the functionality that is contained in this DLL to implement
an Open dialog box. This helps promote code reuse and efficient memory usage.
in
Updates are easier to apply to each module without affecting other parts of the
sa
program. For example, you may have a payroll program, and the tax rates change
each year. When these changes are isolated to a DLL, you can apply an update
us
without needing to build or install the whole program again.
H
DLL advantages
q
The following list describes some of the advantages that are provided when a
a
When multiple programs use the same library of functions, a DLL can reduce the
duplication of code that is loaded on the disk and in physical memory. This can
greatly influence the performance of not just the program that is running in the
M
A DLL helps promote developing modular programs. This helps you develop large
programs that require multiple language versions or a program that requires
modular architecture. An example of a modular program is an accounting
program that has many modules that can be dynamically loaded at run time.
When a function within a DLL needs an update or a fix, the deployment and
installation of the DLL does not require the program to be re-linked with the DLL.
Additionally, if multiple programs use the same DLL, the multiple programs will
all benefit from the update or the fix. This issue may more frequently occur when
you use a third-party DLL that is regularly updated or fixed.
Assembler
It converts the code written in assembly language into machine language. The
assembly process is relatively simple because assembly language has a one-to-one
relationship with machine code. That is, every assembly language instruction
translates into exactly one machine code instruction.
in
to 1 relationship processor
2. Assembly code is often very 2. Assembly tends to be optimized for
sa
efficient (and therefore fast) the hardware it's designed for,
because it is a low level meaning it is incompatible with
language
3. Assembly code is fairly easy to us different hardware
3. Lots of assembly code is needed to
H
understand due to the use of do relatively simple tasks, and
English-like mnemonics complex programs require lots of
q
programming time
a
ht
Compiler
us
is done, the machine code version can be loaded into the machine an executed
without any further need of compiler.
M
1. The final object (.exe) can easily 1. The final object file can only be
be distributed among many users. produced after all errors in source
2. Once the .exe file is produced, code have been located and fixed.
users do not need the compiler 2. The compilation process uses a lot
software. of computer resources.
3. Users have no sight of the original
source code and so there is no
risk that it could be changed.
in
sa
us
H
a q
ht
us
-M
M