Assignment 3
Assignment 3
FUNDAMENTAL OF COMPUTER
SCIENCE
1 WHAT IS AN OPERATING
SYSTEM?
An operating system, or OS, is a software program that
enables the computer hardware to communicate and operate
with the computer software. Without a computer operating
system, a computer would be useless.
An operating system (sometimes abbreviated as "OS") is also
the program that, after being initially loaded into the computer
by a boot program, manages all the other programs in a
computer. The other programs are called applications or
application programs. The application programs make use of
the operating system by making requests for services through
a defined application program interface (API). In addition,
users can interact directly with the operating system through a
user interface such as a command language or a graphical
user interface (GUI).
2 THE SERVICES OF
OPERATING SYSTEM
program with the expectation, but not the certainty, that the
program will eventually return control to the operating system.
If the machine has the capability of protecting memory, then a
bug in one program is less likely to interfere with the
execution of other programs. In a system without memory
protection, one program can change the contents of storage
assigned to other programs or even the storage assigned to
the operating system. The resulting system crashes are not
only disruptive, they may be very difficult to debug since it
may not be obvious which of several programs is at fault.
Timesharing Systems (1970s - present)
Back in the days of the "bare" computers without any
operating system to speak of, the programmer had complete
access to the machine. As hardware and software was
developed to create monitors, simple and spooling batch
systems and finally multiprogrammed systems, the separation
between the user and the computer became more and more
pronounced.
Users, and programmers in particular, longed to be able to
"get to the machine" without having to go through the batch
process. In the 1970s and especially in the 1980s this
became possible two different ways.
The first involved timesharing or time slicing. The idea of
multiprogramming was extended to allow for multiple
terminals to be connected to the computer, with each in-use
terminal being associated with one or more jobs on the
computer. The operating system is responsible for switching
ASSIGNMENT 3
Real-Time,Multiprocessor,and
Distributed/Networked Systems
A real-time computer is one that execute programs that are
guaranteed to have an upper bound on tasks that they carry
out. Usually it is desired that the upper bound be very small.
Examples included guided missile systems and medical
monitoring equipment. The operating system on real-time
computers is severely constrained by the timing requirements.
Dedicated computers are special purpose computers that
are used to perform only one or more tasks. Often these are
real-time computers and
include applications such as the guided missile mentioned
above and the computer in modern cars that controls the fuel
injection system.
A multiprocessor computer is one with more than one
CPU. The category of multiprocessor computers can be
divided into the following sub-categories:
• Shared memory multiprocessors have multiple
CPUs, all with access to the same memory. Communication
between the processors is easy to implement, but care must
be taken so that memory accesses are synchronized.
• Distributed memory multiprocessors also have
multiple CPUs, but each CPU has its own associated
memory. Here, memory access synchronization is not a
ASSIGNMENT 3
4 EXPLAINATION OF TYPES OF
COMPUTER
4.1 MICROCOMPUTER
A microcomputer is a computer with a microprocessor as its
central processing unit. Another general characteristic of
these computers is that they occupy physically small amounts
of space when compared to mainframe and minicomputers.
Many microcomputers (when equipped with a keyboard and
screen for input and output) are also personal computers (in
ASSIGNMENT 3
4.2 MINICOMPUTER
A minicomputer (colloquially, mini) is a class of multi-user
computers that lies in the middle range of the computing
spectrum, in between the largest multi-user systems
(mainframe computers) and the smallest single-user systems
(microcomputers or personal computers). The class at one
time formed a distinct group with its own hardware and
operating systems, but the contemporary term for this class of
system is midrange computer, such as the higher-end
SPARC, POWER and Itanium -based systems from Sun
Microsystems, IBM and Hewlett-Packard.
This is designed to support more than one user at a time. It
possesses large storage capacity and operates at a higher
speed. The mini computer is used in multi-user system in
which various users can work at the same time. This type of
computer is generally used for processing large volume of
data in an organization. They are also used as servers in
Local Area Networks (LAN).
ASSIGNMENT 3
4.3 MAINFRAME
These types of computers are generally 32-bits
They operate at very high speed, have very large storage
capacity and can handle the work load of many users. They
are generally used in centralized databases. They are also
used as controlling nodes in Wide Area Networks (WAN).
Example of mainframes are DEC, ICL and IBM 3000 series.
Mainframe Year
ENIAC 1942
Mark I 1944
BINAC 1949
Whirlwind 1960
ASSIGNMENT 3
UNIVAC 1952
IBM701
1953 http://www.thocp.net/hardware/ibm_360_family.htm
IBM 360 1963
4.4 SUPERCOMPUTER
Supercomputing means "mass computing at ultra-high
speed."
They are the fastest and most expensive machines. They
have high processing speed compared to other computers.
They have also multiprocessing technique. One of the ways in
which supercomputers are built is by interconnecting
hundreds of microprocessors. Supercomputers are mainly
being used for weather forecasting, biomedical research,
remote sensing, aircraft design and other areas of science
and technology. They are also used to help governments
eavesdrop on anything passing through telephone, data lines,
e-mail, or radio waves; and anything that is written, etc.
Examples of supercomputers are CRAY YMP, CRAY2, NEC
SX-3, CRAY XMP and PARAM from India.
4.5 LAPTOP
Laptops are portable computers. Originally, laptops were
large, heavy, short battery life beasts. Nowadays, laptops
ASSIGNMENT 3
5.a MONITORS
A monochrome monitor has two colors, one for foreground
and the other for background. The colors can be white, amber
or green on a dark (black) background. The monochrome
monitors display both text and graphics modes.
Color Monitors
A color monitor is a display peripheral that displays more than
two colors. Color monitors have been developed through the
following paths.
• CGA: This stands for Color Graphics Adapter. It is a circuit
board introduced by IBM and the first graphics standard for
the IBM PC. With a CGA monitor, it is harder to read than with
a monochrome monitor, because the CGA (320 X 200) has
ASSIGNMENT 3
electrodes in a flat, gas filled panel. The image can persist for
a long time without refreshing in this panel. The
disadvantages of the gas plasma displays are that they must
use AC power and cannot show sharp contrast.
5.b PRINTER
A printer is an output device that produces a hard copy of
data. The resolution of printer output is expressed as DPI.
Printers can be classified into different types in several ways.
First, the printers can be divided into three categories by the
way they print.
• Serial Printers: Also called a character printer. Print a
single character at a time. They are usually inexpensive and
slow.
• Line Printers: Print a line at a time. They are expensive
and very fast. Line printers use a band, a chain, etc.
• Page Printers: Also called a laser printer. Print a page at
a time. They usually use a laser to produce page images.
Quality is best. This is a little bit expensive, but the price of
the personal laser printer is decreasing. The price range of
the personal laser printer is around $400, today.
Second, printers can be classified into two forms
according to the use of a hammer.
• Impact Printers: Impact printers transfer the image onto
paper through a printing mechanism that strikes the paper,
ribbon and character together. Most impact printers use
ASSIGNMENT 3
are moved to draw the image. This plotter can use several
different colors pens to draw with.
5.c VOICE OUTPUT DEVICES
This device produces a human speech like sound, but
actually is prerecorded vocalized sounds. Voice output is
used in the telephone information system, where the
requested number is reported using a voice output system.
Voice synthesis has a robotic sound due to the difficulties of
replicating the complexities of human speech and
pronunciation.
Voice answer back (VAB) is used to respond to telephone
enquiries, such as the speaking clock.
For example, when a student enrolls courses using a
telephone registration system, he or she hears voice output
upon our request. Voice output is becoming common in voice
messaging systems.
6.1 SOFTWARE
Software is a program that make the machine do something.
We have two types of software
System software and Application software
Application Software
Application Software is a set of programs to carry out
operations for a specific application. For example, payroll is
an application software for an organization to produce pay
slips as an output. Application software is useful for word
processing, billing system, accounting, producing statistical
report, analysis of numerous data in research, weather
forecasting, etc. In later modules we will learn about MS
WORD, Lotus 1-2-3 and dBase III Plus. All these are
application software.
System software
System software are general programs designed for
performing tasks such as controlling all operations required to
move data into and out of the computer. It communicates with
printers, card reader, disk, tapes etc. monitor the use of
various hardware like memory, CPU etc. Also, system
software is essential for the development of applications
ASSIGNMENT 3
HARDWARE
Hardware is the actual machine and its support devices –
Examples: Monitor, disk drive, CD ROM, printer, CPU, mouse
We can notice that hardware is tangible but not
software
• PROGRAMMING LANGUAGES
• LOW LEVEL LANGUAGES
• HIGH LEVEL LANGUAGES
WHY IS IT REQUIRED?
It scans the entire program first and then translates it into
machine code. The programs written by the programmer in
higher level language is called source program. After this
program is converted to machine languages by the compiler it
is called object program. A compiler can translate only those
source programs, which have been written, in that language
for which the compiler is meant for. For example, FORTRAN
compiler will not compile source code written in COBOL
language.
6. 10 WHAT IS AN INTERPRETER?
An interpreter is another type of program translator used for
translating higher level language into machine language. It
ASSIGNMENT 3