Csc 333 Lectureee
Csc 333 Lectureee
3/8/2021 1
Review of Computer System:
Fundamental Concepts
A computer system is any machine which can accept data and information
presented to it in a prescribed form, carry out some operations on the input
and supplies the result in a specified format as information
Thus computers are said to read incoming data called input, process the
data and produce outgoing information called output.
3/8/2021 2
Review of Computer System: Fundamental Concepts
To complement the definition of the computer above, we give the following basic
facts which are essential to understanding clearly what a computer is and what is
not
• The computer is automatic: we assume that a machine is automatic if it works
without human intervention
• The computer is a general purpose machine
• The computer is electronic
HISTORY OF COMPUTERS
The computer has gone through generations of change, development and
improvement. It can be traced through long line of calculating and recording
methods.
The genesis of these methods is the tying and knots in pieces of rope, this method
was to keep track live stocks. Then carving marks on clay or stone emerged, and
was employed in recording transactions.
The ABACUS – a device made of beads strung on wires was thereafter developed
and was for adding and subtracting
3/8/2021 3
Review of Computer System: Fundamental Concepts
Generations of Electronic Digital Computer
First Generation
Period 1946 – 1959
Costly to buy
Expensive to power
Second Generation
period 1959 – 1965
More Sophisticated, English like Computer languages were used for coding
3/8/2021 4
Review of Computer System: Fundamental Concepts
External storage supplemented internal storage ( e.g. magnetic tapes, magnetic disks)
The computer became smaller in size, faster, more reliable and much greater in
processing capability
Most popular of this period was IBM 1401
Third Generation
Period 1965 – 1970
Employed Integrated solid circuits technology
Used less power
Cost less
Smaller
Improved secondary storage device and new input/output devices ( Visual display
terminal, magnetic ink reader, high speed printer
Multiprogramming and multiprocessing was possible
Most popular of this period was IBM 360/370 series, UNIVAC 1108, 9000
Fourth Generation
3/8/2021 5
Review of Computer System: Fundamental Concepts
period 1970 – till date
Employed large scale integrated circuitry
Internal memory employed Metal Oxide Semiconductor which is faster and
cheaper than core
Emergence of microprocessor and invariably the micro computer
Much faster, less expensive
Experts system
Neural networks
Artificial intelligence and robotics
Classification of Computers
Computers are classified into three major categories
Types
Purpose
Size
Classification by Types
Analog : this are computer which measure changes in continuous physical or
electrical states e.g. pressure and temperature.
3/8/2021 6
Review of Computer System: Fundamental Concepts
Digital : these are computers which perform calculation by counting numbers
precisely. In a digital computer data is represented by discrete states ( on and off
or yes/no) of the computer electronic circuitry. Numbers letters and symbols are
represented by a code based on the binary number system.
Classification by Purpose
Special purpose Computers: these are designed for a particular purpose of job,
outside which they become redundant. Examples include: currency counter,
traffic lights, computer machines used in marking objective questions
Classification by Size
Super Computers
Mainframes
3/8/2021 7
Review of Computer System: Fundamental Concepts
Mini Computers
Micro Computers
The CPU is the heart of the computer. It consists of the following logic units
The Arithmetic and Logic Unit (ALU)
Main/Primary/Internal Storage
It also retains the result of the ALU calculation so that they can be presented to the
user via the output unit
3/8/2021 9
Review of Computer System: Fundamental Concepts
To solve this problem of limited memory capacity, data (especially that are not
needed for immediate execution) is stored on secondary memory
Secondary storage generally has very large memory capacity ( much larger than
that of primary).
It is generally slower than primary memory.
It is much cheaper than primary memory.
Common secondary memory devices include: Hard disc, flash drives e.t.c
3/8/2021 10
Review of Computer System: Fundamental Concepts
Input Unit
A computer needs specific auxiliary devices to enter data in to the CPU. Data input
is therefore an important activity in any computer based system because it is the
communication link between the people and the machine. Examples are
keyboard, scanners, light pen, mouse, digitizer e.t.c
Output Unit
Output Machines are necessary for communicating computerized results from the
computer to the user. Printers constitute the most popular output device for a
computer.
System software
Application Software
3/8/2021 11
Review of Computer System: Fundamental Concepts
System Software: this are software responsible for ensuring optimal utilization of the
hardware resources ( processor, memory, peripherals) as well as simplifying the use
of the computer system as a whole. They include Operating Systems, Translators (e.g.
compilers, assembler, interpreter e.t.c.
Application Software
This are ready made programs which are designed in a generalized but standard way for
solving application problems which are common to many users e.g. Payroll,
accounting, stock control e.t.c.
3/8/2021 12
Review of Computer System: Fundamental Concepts
Data and Information
In carrying out day to day activities every business or organization needs information
Data
Data can be described as basic facts ( numbers, symbols or aggregates of one or more
of these) which are raw or undesired in their present state or form and need to be
transformed into a desired form.
it can also be defined as facts that explained the activities of an organization e.g.
number of hours worked, rate of pay, amount and type of materials used in a
particular state.
Information
The desired form into which data is finally transformed after undergoing a series of
processing is called information or simply put information id generated when data
have been subjected to processing or manipulation
In an institution the marks that all graduating student obtained in their degree
examination constitute data that need to be processed. Processing of these data can
yield meaningful information such as overall GPA’s and classes of degree for the
students.
3/8/2021 13
Review of Computer System: Fundamental Concepts
Computer Languages
A computer language is the language which is used to write a program for the
computer.
A program is named according to its written language. Hence we have machine
language, BASIC language, FORTRAN language e.t.c
The purpose of the programming language is to establish communication link
between the computers and their users, computer languages can be classified into
three namely:
Machine Language
Low level language
High level language
Machine Language
This is the only language understood by the computer. Computers only understand
instructions written in terms of electric signals symbolically represented as binary
digits (0’s and 1’s), octal or hexadecimal in form.
3/8/2021 14
Review of Computer System: Fundamental Concepts
Low level Language
Low level language is quite different from machine language. As such a translator
is needed to convert them to machine codes.
Low level languages are written using mnemonics and Pseudo codes to
represent instructions e.g. addition and subtraction are designed as ADD and SUB
Examples are assembly language and C language
Source Language
This is the program written in either a low level or high level language before being
translated to machine language program
3/8/2021 15
Review of Computer System: Fundamental Concepts
Object Program
This is the program that results from translation of the source program
Translator
A translator is a program that takes as input a program written in one programming
language (source language) and produces as output a program in another
language ( Object or Target Language),
If the source language is a high level language and the target language is a low
level language such as assembly or machine language such translator is called
compiler
3/8/2021 16
Review of Computer System: Fundamental Concepts
Information Systems
Information systems are combinations of hardware, software and
telecommunications network that people build and use to collect, create and
distribute useful data typically in an organizational settings.
The field of IS is huge, diverse and growing and encompasses many different people,
purposes, systems and technologies.
The people who build, manage, use, and study information systems make up the
people components. They include system analyst, systems programmer, information
systems professors and many others
Technology
it is any mechanical and/or electrical means to supplement, extend or replace human
manual operations or devices. Sample technologies include the heating and cooling
system of building, the braking system of an automobile and a laser used for surgery.
3/8/2021 17
Review of Computer System: Fundamental Concepts
Information Technology
Information Technology refers to machine technology that is controlled by or uses
information. One type of information is a programmable robot on the shop floor of a
manufacturing firm that receives component specifications and operational
instructions from a computer based database.
IT uses machine technology as building blocks and then combine with computing and
networking technologies e.g. a technology as a mechanical drill press is useful, but it
is more useful when combined with a computer database that instructs that drill
press when and how to act
3/8/2021 18
Data Forms
Human communication
Includes language, images and sounds
Computers
Process and store all forms of data in binary format
Conversion to computer-usable representation using
data formats
Define the different ways human data may be
represented, stored and processed by a computer
19
Data conversion and representation
20
Common Data Representations
21
Alphanumeric Data
22
Binary Coded Decimal (BCD)
8 4 2 1 8 4 2 1 8 4 2 1
1 0 0 1 0 0 1 1 1 0 0 0
8+0+0+1 0+0+2+1 8+0+0+0
Therefore 1001 0011 1000 in BCD = 938 in denary.
9 3 8
Representing characters
There are three main coding systems that
provide conversions of keyboard
characters into binary:
◦ EBCDIC
◦ ASCII
◦ UNICODE
EBCDIC
EBCDIC stands for Extended Binary Coded
Decimal Interchange Code.
It is an extension of BCD which includes
non-numeric characters, including all the
keyboard characters and special
characters.
It is commonly used to encode data onto
magnetic tape.
ASCII
ASCII stands for the American Standard Code
for Information Interchange.
It has been adopted as the industry-standard
way of representing keyboard characters as
binary codes.
Every keyboard character is given a
corresponding binary code.
ASCII uses an 8-bit code to provide 256
characters.
UNICODE
UNICODE is the new standard to emerge that is
replacing ASCII.
It has been adopted by many of the big
businesses in the computing industry.
It is designed to cover more of the characters
that are found in languages across the world.
It has become important due to the increased
use of the Internet, as more data is being passed
around globally.
Boolean Algebra
Boolean algebra is the branch of algebra in which the values of
the variables are the truth values true and false, usually denoted 1 and 0,
respectively.
It is thus a formalism for describing logical operations in the same way that
elementary algebra describes numerical operations.
Boolean Algebra
Basic operations
The basic operations of Boolean algebra are as follows:
AND (conjunction), denoted x∧y (sometimes x AND y or
satisfies x∧y = 1 if x = y = 1, and x∧y = 0 otherwise.
OR (disjunction), denoted x∨y (sometimes x OR y or,
satisfies x∨y = 0 if x = y = 0, and x∨y = 1 otherwise.
NOT (negation), denoted ¬x (sometimes NOT x, Nx, x,̅ x '
or !x), satisfies ¬x = 0 if x = 1 and ¬x = 1 if x = 0.
3/8/2021 29