Computer Science #3
Computer Science #3
1
Table of contents
Data representation in a computer
Data processing
System development
Chapter 1
Data representation in a computer
3
Introduction
In digital computers,
the user inputs is
converted and
transmitted as
electrical pulses that
can be represented
by two digits ‘1’ and
‘0’ before processing.
These two digits are
referred to as Binary
digits.
Sending data via a telephone line
When a digital signal is to be
sent over analog telephone
lines e.g. e-mail, it has to be
converted to analog signal.
This is done by connecting a
device called a modem to the
digital computer. This
process of converting a
digital signal to an analog
signal is known as
modulation. On the receiving
end, the incoming analog
signal is converted back to
digital form in a process
known as demodulation.
Concepts of data representation in digital computers
Electronic
components such as
microprocessor are
made up of millions of
electronic circuits.
Availability of a high
voltage (ON) in these
circuits is interpreted
as ‘1’ while a low
voltage (OFF) is
interpreted as ‘0’.
Data representation on magnetic media
The presence of a
magnetic field in one
direction on magnetic
media is interpreted
as ‘1’ while the
absence of magnetic
field is interpreted as
‘0’.
Data representation on optical media
In optical devices, the presence of light is interpreted as ‘1’
while its absence is interpreted as ‘0’.
BITS – this is a binary digit, which can either be 0 or
1. it’s the basic unit of data or information in digital
computers.
BYTE – a group of 8 bits. It is the basic unit of
measuring memory size in computers.
NIBBLE – it is a half a byte or a group of 4 bits.
WORD – its consists of one or more bytes and is the
largest amount of memory that the computer can
handle.
WORD LENGTH – is the number of bits in each
word of computer.
Reading data on a CD-ROM
Types of data representation
Number System
Base conversion
Negative Numbers
Binary Addition
Types of number systems
Decimal Number System
Octal Notion
For fractional
hexadecimal values.
The division is by 16
and the procedure is
the same as the binary
fraction to decimal.
Hexadecimal to Binary
Examples of hexadecimal to binary
Negative numbers
Both positive and negative numbers can
be represented in the computer memory
during processing. various methods are
used to represent negative numbers in
the computer. These methods are:
i. One’s compliment
ii. Two’s compliment
The negative numbers are used to carry
out subtraction in the computer
arithmetic operations.
One’s complement (1c method)
In this method the binary bits representing the
negative number are negated that is the 1’s in
the number are changed to 0’s and 0’s to 1’s.
Two’s complement (2c method)
In this method, the negative number is
represented into binary, then complimented as
in 1c method but a ‘1’ is added to the least
significant digit of the complement value.
Signed magnitude
In decimal numbers, signed number has a prefix
“+” for a positive number e.g. +3210 and “-” for a
negative number e.g. -3210. in binary, a negative
number may be represented by prefixing a digit
1 to the number while a positive number may be
represented by prefixing a digit 0.
i.e. 1710 ⇒ 100012 (unsigned)
-1710 ⇒ To indicate it’s a negative number we
add an extra bit (1) 100012
+1710 ⇒ To indicate it’s positive we add an extra
bit (0) 100012
Advantages of two’s compliment
There are no two ways of representing a
zero as in one’s compliment and signed
magnitude.
Binary subtraction
Binary multiplication
Binary addition
Binary addition rules
b. 1510 e. 8910
c. 139010 f. 45510
Review questions 3
Using the place value and log division
methods convert each of the following
base 10 numbers to their binary
equivalents.
a. 1010
b. 4310
c. 36510
d. 51210
e. 143
f. 95410
Answer of review questions 3
a. 10102 d. 10000000002
b. 1010112 e. 100011112
c. 1011011012 f. 11101110102
Review questions 4
1. Convert the 2. Convert the
following binary following decimal
numbers to their numbers into their
decimal equivalents. binary equivalents.
a. 0.100112 a. 0.63510
b. 0.00102 b. 0.45010
c. 0.101012 c. 2.50010
d. 11.01102 d. 5.162510
e. 101.111102 e. 7.187510
f. 100.1102 f. 0.35010
Answer of review questions 4
1. Convert the binary 2. Convert the decimal
numbers to their numbers into their
decimal equivalents. binary equivalents.
a. 0.5937510 a. 0.1012
b. 0.12510 b. 0.011102
c. 0.6562510 c. 10.10002
d. 3.37510 d. 101.001010011
e. 5.937510 e. 111.00112
f. 4.7510 f. 110101.01011102
Review questions 5
Convert the following octal numbers to decimal
numbers.
a. 778
b. 648
c. 1028
d. 12008
e. 10008
f. 1738
g. 1238
h. 7778
i. 3458
j.
k.
1668
3458
Answer of review questions 5
a. 6310 f. 12310
b. 5210 g. 8310
c. 6610 h. 51110
d. 64010 i. 22910
e. 51210 j. 11810
Review questions 6
Convert the following octal numbers to their
binary equivalents.
a. 2448
b. 2478
c. 1628
d. 5658
e. 2228
f. 33708
g. 14138
h. 13318
i. 63478
j. 466538
Answer of review questions 6
a. 101001002 f. 110111110002
b. 101001112 g. 110000110112
c. 11100102 h. 10110110012
d. 1011101012 i. 1100111001112
e. 100100102 j. 1001101101010112
Review questions 7
Convert the following hexadecimal numbers
into decimal numbers.
a. 3216
b. CCD16
c. EFE16
d. 11916
e. 32816
f. ABD16
g. 10AFFD16
h. DDFF3416
i. 11ABDF16
j. CDFF3116
Answer of review questions 7
a. 5010 f. 95410
b. 327710 g. 109362910
c. 383810 h. 1454878810
d. 28110 i. 115811110
e. 80810 j. 1350020910
Review questions 8
Convert the following hexadecimal numbers into binary
form
a. 29416
b. 24716
c. EFD16
d. 90716
e. BAD16
f. CBDF16
g. 585C16
h. ABCD16
i. 55C3A16
j. 33111CF16
k. Convert 1111000110111 to its hexadecimal equivalent.
Answer of review questions 8
a. 10100101002 g. 1011000010111002
b. 10010001112 h. 10101011110011012
c. 11101111111012 i. 1010101110000111
d. 1001000001112 0102
e. 1011101011012 j. 1100110001000100
f. 11001011110111112 01110011112
k. IE3716
Review questions 9
Answer of review questions 9
1. 100012 7. 10001112
2. 101102 8. 1111112
3. 110012 9. 10000002
4. 1100112 10. 110010112
5. 10110012 11. 10010112
6. 101012 12. 11110012
Review questions 10
Answer of review questions 10
1. 11112 1. 111112
2. 0012 2. 102
3. 101002 3. 10100102
4. 10012 4. 110001102
5. 1101012 5. 100012
Review questions 11
1. Convert the decimal number -7 to 8-bit binary using
ones and twos complement.
2. Using 8-bits length, find the twos complement of the
following decimal numbers.
A) -3110
B) -2810
C) -510
3. Using ones and twos complement perform the following
arithmetic operations.
A) 1410 – 710
B) 2810 – 1210
C) 3410 – 3310
D) 10010 – 5010
E) 10210 – 6410
Answer the review questions 11
1. 111110012 3. A). 1112
E). 01001122
Revision questions 1
1. Explain the two types of 4. Convert the following
data signals. decimal numbers to their
2. Differentiate between decimal binary
A) Octal and decimal
equivalents.
number systems. A) 78910
B) 57010
B) Binary and hexadecimal C) 4210
number systems. D) 3010
3. Convert the following binary 5. Find the sum of the
numbers to their decimal following binary numbers.
equivalents. A) 11102 + 11112 =
1. 1011102 B) 0012 + 1002 =
2. 1010112 C) 11012 + 10112 + 1002 =
3. 01102 D) 10102 + 1012 =
4. 101012 E) 1112 + 112 =
Answer of revision questions 1
1. Analog and digital
2. A). Octal number system is a base 8 system while the
decimal number system is a base 10 system.
B). Binary number system is a base 2 system while
hexadecimal number system is a base 16 system.
3. A). 4610
B). 4310
C). 610
D). 2210
4. A). 11000101012
B). 10001110102
C). 1010102
D). 111102
Revision questions 2
1. Work out the following binary 3. Determine the value of X in the
subtraction using direct, ones equations:
and twos complement A) 1001102 – X2 = 0010102
methods. B) X2 + 11012 = 7010
A) 11001 – 1101
4. Work out the decimal equivalents
B) 1000 – 101 of the following binary numbers.
C) 100011 – 111 A) 0.100102
D) 10101110 – 1000110 B) 101.112
E) 10001000110 – 101 C) 11.1012
2. Find the ones and twos D) 0.0012
complement of the following 5. Work out the decimal equivalents
decimal number in binary form. of the following binary numbers.
A) -7510
A) 0.3510
B) -8010
B) 2.5010
C) -10010
C) 0.2010
D) 7.12510
Answer of revision questions 2
1. A). 101012 1. A). 0.562510
B). 1012 B). 5.7510
C). 111002 C). 3.62510
D). 11112 D). 0.12510
E). 10102 2. A). 0.0101102
2. A). 11002 B). 10.12
B). 0112 C). 0.00112
C). 111002 D). 111.0012
D). 11010002
E). 100010000012
3. A). 111002
B). 1110012
Revision questions 3
1. Write down the character represented by the following
codes:
A) ASCII
i. 0110000
ii. 0110111
iii. 1000011
iv. 1011001
B) EBCDIC
1. 11110000
2. 11110111
3. 11000001
4. 01011101
Answer of revision questions 3
ASCII Char EBCDIC Char
acter
Num 1’s 2s
acter
ber complement complement
77
Definition of Terms
Data – this is a collection of raw facts (figures, letters,
characters etc) that convey little meaning by
themselves.
Information – this refers to data that has undergone
processing and is meaningful to the user when he/she
need it, in the form he needs and at the time he/she
need it.
Data processing – refers to the process of
transforming raw facts into meaningful output
(information)
Data processing cycle – refers to input process output
stages that data goes through to be transformed into
information.
Data processing cycle
Data collection
Processing
Stages of data processing cycle
1. Data collection – this involves looking for or getting
the data from its point of origin for processing
purpose.
2. Data input – this is the process where the collected
data is converted from human readable form to
machine – readable form.
3. Processing – this is transformation of input data by
the central processing unit to a more meaningful
output.
4. Output – this is the final activity of data processing
cycle which produces the desired output
(information). The information is then distributed to
the target groups.
Methods of data collection
Interview
Questionnaire
Observation
Record inspection
Stages of data collection
Depending on the method of data
collection used, the process of data
collection may involve the following stages.
Data creation
Data transmission
Data preparation
Media conversion
Input validation
Sorting
Data creation
This is the process of putting together
facts in an organised format. This may be
in form of manually prepared documents
or captured from the source using data
capture devices. E.g. scanners, digital
camera etc.
Data transmission
This refers to the transfer of data from the
point of collection (source) of the point
where processing is to be done.
Transmission can be electronically through
computer – to – computer, physically by
the post office etc.
Data preparation
This refers to conversion of data from
source document to machine – readable
form. Data collected using devices that
capture data in digital form do not require
transcription conversion.
Media conversion
Data may need to be converted from one
medium to another. E.g. from a compact
disk to hard disk for faster input.
Input validation
Data entered into the computer is
subjected to validity and verification
checks before processing.
Accuracy
Timeliness
Relevance
Audibility
Accuracy
This refers to whether information/data is
accurate – true or untrue. As long as the
correct instructions and data are entered,
computers produce accurate results
efficiently.
Timeliness
This refers to whether the information is
available when it is needed, and if its
outdated when it is received or when it is
used. If information is not available when
needed or its outdated by the time its used
then has little or no value in decision
making.
Relevance
The data entered must be pertinent to the
proce3ssing needs at hand and must meet
the requirements of the processing cycle.
Audibility
Audit ability also refers to as verifiability.
This is the ability of users to check the
accuracy and completeness of information.
Threats to data integrity
Threats to data integrity can be minimised
through the following;
Using error detection and correction software when
transmitting data.
Design user interfaces that minimizes chances of
invalid data entry.
Using devices that capture data directly from source
e.g. scanners etc.
Control access to data by enforcing security
measures.
Back up data preferably on external storage media.
Data processing methods
Data can be processed using one of the
following methods.
Mechanically
Manually
Electronically
Manual data processing
In this method staff in an
organisation uses the laid
down procedures and rules
to collect data, process and
distribute information to
relevant departments for
use. The tasks are done
manually with a pen and a
paper. No machines are
used to process data
instead they use simple
tools like tables and rulers.
Mechanical data processing
Mechanical systems
are those where staff
use various
mechanical machines
like calculators,
typewriters, cash
registers duplicating
machines etc to
perform operations.
Electronic data processing
In this system, data is
manipulated using electronic
machines to produce
information. This method is
faster and more accurate than
the manual and mechanical
where large volumes of data
are to be processed. This
method involves the use of
computers and other
electronic machine like mobile
phones, washing machines,
modern digital TVs etc.
Factors determining the methods of data processing
Timing aspects
Master file
Transaction file (movement file)
Reference file
Sort file
Back – up file
Report file
Master file
This is the main file that contains
permanent records about a particular item
or entries. The master file contains both
static and dynamic fields. For example a
payroll system might keep a master file
containing employees personal details
(name, address, date of birth, sex etc)
which rarely change (static fields) and data
describing the earnings and deductions
which frequently change (dynamic fields).
Transaction file (movement file)
This file includes input and output files for
holding temporary incoming or outgoing
data. It contains data about an
organisation activities taking place for
some period of time. This file is used to
update dynamic data on master files.
Reference file
They are permanent or semi permanent
and are used for reference or look up
purposes. They contain records that are
fairly static. E.g. price, lists, Pay As You
Earn etc.
Sort file
These files are created from existing
transaction or master files. They are used
where data is to be processed
sequentially. Data or records are first
sorted in a particular format for example
they are arranged in ascending or
descending order of the key field and
stored in the sort file.
Back – up file
These files are duplicate copies of existing
files. They are used to supplement the
operational files in case of loss by any
reason. They are created any time and
update is carried out on the master file.
Report file
They contain sets of records extracted
from data in the master files. They are
used to prepare reports that can be printed
at a later date, for example, list of
absentees, overtime etc.
File processing activities 1
Updating – refers to changing data in
master file to reflect the current status.
Referencing – happens when it is made to
particular records to ascertain what is
contained therein. The activity does not
alter the contents of master file from a file.
Sorting – this entails arranging of file
contents into some pre – determined
sequence of the key field, which occupy
the same position on the records.
File processing activities 2
Merging – the process that combines the
contents of two or more input files into one
output files.
Matching – the input files records are
matched/compared to ensure that records exist
in both the files.
Summarizing – the records of interest from the
file are accumulated to form a record in the
output file.
Searching – it entails looking for the record of
interests from the file.
File updating 1
Hit rate – hit rate is used to describe the
rate of processing of a master file in terms
of its active records. For example, if 600
transactions are processed each day
against a master file of 12,000 records,
then the hit rate is said to be 5% i.e.
600/12000*100
File updating 2
Volatility – this is the frequency with which
records are added to the file or deleted
from it. If the frequency is high, then the
file is said to be ‘volatile’ otherwise ‘static’.
Size – refers to the amount of data stored
in the file. Its expressed in terms of the
total number of records in the file.
Growth – files will always grow as new
records are added to it.
File organisation methods
File organisation is the arrangements of
records within a particular file. There are
four methods of storing files and retrieving
them from secondary storage devices.
Sequential file organisation
In this organisation records are stored and
accessed in a particular order sorted using
key field. The key field is used to search
for a particular record. Searching
commences at the beginning of the file
and proceeds to the ‘tail’ of the file until the
record is reached. Mainly used with
magnetic tapes.
Advantages of sequential file
Simple to understand the approach.
Easy to organise, maintain and
understand.
Reading a record requires only the key
field.
Inexpensive input/output media and
devices are used.
Disadvantages of sequential file
Entire file must be accessed even when
the activity rate is very low.
On-line processing
Time sharing processing
Real time processing
Multi-programming / multi-tasking
Distributed processing
Batch processing
Multi-processing
Interactive processing
On-line processing
In this processing the result of data
processing is available immediately. All
the computer peripherals and equipments
are under the direct control of the central
processor. As soon as the input
transactions are available, they are
processed to produce the required
information. The user can interact with the
system at any time of processing using
input/output facilities.
Application of on-line processing
Banking
Stock exchange
Stock control
Water/electricity billing
Advantages of on-line processing
Bureau
Learning institutions.
Companies.
Advantages of time sharing processing
Air reservation
Hotel reservation
168
Introduction
Human beings have evolved
from the stone age to a highly
sophisticated and advanced
society by inventing things like
the wheel, fire, transistors and
today’s ultra modern devices
like computers. The idea of
computers started way back in
the nineteenth century. The first
generation computers called
Electronic Numeric Integrator
And Calculator (ENIAC 1) were
operated by plugging wires into
a control panel that resembles
the old telephone switchboards.
Computer programming
A program – is an organised list of statements
(instructions) that when executed, causes the
computer to behave in a predetermined manner
or carry out a defined task.
Programming – refers to the process of
developing computer (instructions) programs
used to solve a particular task.
A computer program – is designed using a
particular programming language. Each
language has a special sequence or order of
writing characters usually referred to as syntax.
Terms used in programming
Source program
Object code
Translator
Assembler
Interpreter
Compiler
Source program
This refers to the program code that the
programmer enters in the program editor
window that is not yet translated into
machine-readable form.
Object code
This refers to the program code that is in
machine-readable. i.e. a source code that
has been translated into machine
language.
Translator
These are programs that
translates/convert the source program into
object code. E.g. assemblers, compliers,
interpreters etc.
Assembler
An assembler translates a program written
in assembly language into machine
language,
Interpreter
This translates the source program line-
by-line, allowing the CPU to execute one
line before translating the next. The
translated line is not stored in the
computer memory, hence every time the
program is executed, it has to be
translated.
Complier
This translates the entire source program
into object code. The compiler translates
each high-level instruction into several
machine code instructions in a process
called COMPILATION and produces a
complete independent program that can
be run by the computer as often as
required without the original source
program being present.
Difference between the interpreters and compilers
Interpreters Compilers
Translates the source program Translates the entire source
one statement at a time. code at once before execution.
Translates the program each Compiled program (object
time it is run hence slower than code) can be saved on a
compiling. storage media and run as
required, hence executes
faster than interpreted
programs.
Interpreted object code takes Compiled programs require
less memory compared to more memory as the object file
compiled program. are larger.
Level of programming languages
Low-level languages.
High-level languages.
Low-level languages
These languages are classified as low
because they can be easily understood by
the computer directly or they require little
effort to translate into computer
understandable form. These languages
are hardware oriented and therefore they
are not portable. i.e. a program written for
one computer cannot be installed and
used on another.
High-level languages
These languages are very close to the
human language (English-like) and they
can be read and understood even by
people who are not experts in
programming. These languages are
machine independent. This means that a
programmer concentrates on problem
solving during a programming session
rather than how a machine operates.
Types of low level languages
Machine language (First generation
languages).
Delphi Pascal
Visual Cobol
C++
Fifth generation languages (5GL’s)
MERCURY
LISP
OCCAM
Object Oriented Programming Language (OOP)
Simula
Small talk
Web scripting languages
These languages are used to develop or add functionalities on
web pages. Web pages are hypertext documents created in a
language called HyperText Markup Language (HTML). The
languages consist of markup tags that tell the Internet browser
that the file contains HTML-code information and is
distinguished by a file extension of HTML. The markup tags
define the various components of a World Wide Web document
such as heading, tables, paragraphs, lists etc. HTML does not
have the declaration part and control structures, hence it’s not
considered as a true programming language. Due to its
simplicity, it has many limitations and cannot be used alone
when developing functional websites. Some special blocks of
codes called Scripts may be inserted in HTML pages using
scripting languages like JavaScript, VBScript etc in order to add
functionality to HTML pages.
Examples of HTML tags and their meanings
Tag Meaning
<HTML> Marks the beginning and end of a HTML document. All other tags and text fall
</HTML> between these two tags.
<HEAD></HEAD> Marks the header part of the document.
<TITLE> Gives title of te web page. Text between this tags appears in the title bar when the
</TITLE> page is browsed.
<BODY></BODY> Marks the body part of the document.
<H1> Sets size of text on the web page with H6 displaying the smallest and H1 the
</H1> largest size.
Creating a script using Javascript 1
Problem definition
Program design
Program coding
Program testing
Program implemetation
Problem recognition
This refers to the understanding and
interpretation of a particular problem. To
understand a problem one has to look for
key words such as compute, evaluate,
compare etc. a programmer identifies
problems in the environment and seeks to
solve them by writing a computer program
that would provide the solution.
Circumstances that can cause the
programmer to identify a problem
Opportunity to improve the current
program.
Sequence
Selection decision
Iteration (looping) repetition
Sequence
In this control structure, the computer
reads instructions from a program file
starting from the first top line and
proceeding downwards one by one to the
end. Hence sequential program execution
enables the computer to perform tasks
that are arranged consecutively one after
another in the code.
Example of how a sequential
programs code execute
The
program file
reader
reads
Begin {Procedure name} sequentially
Action 1 statement
Action 2 by
Action n statements
End {Procedure name} to the end
of the file
Selection/decision
This structure is used to branch, depending on whether
the condition returns a value of True of False (Yes or No).
For example
IF < Condition >
Then Action 1
Else Action 2
Endif.
a. 80 marks Grade A
b. 60 marks Grade B
c. 50 marks Grade C
d. 40 marks Grade D
General format of Nested IF
General Format The pseudo code segment will be:-
IF <Conditions> Then If Marks = 80 THEN
Grade = “A”
Statement ELSE
ELSE If Marks = 60 THEN
IF <Condition> Then Grade = “B”
Statement ELSE
ELSE If marks = 50 THEN
Grade = “D”
IF <Condition>Then Endif
Statement Endif
Endif Endif
Endif Endif
End End
CASE SELECTION
General format
CASEx of
It’s an alternative to
Label 1 : Statement1 the nested IF. This
Label 2 : Statement2 selection is preferred
Label n : Statement n-1
ELSE to the Nested if in
Statement n order to reduce the
End case
many line s of codes.
Example:- Case selection can
CASE average OF only be expressed
80…100: Grade=“A”
70…79: Grade=“B” using integers and
60…69: Grade=“C” alphabetic characters
40…49: Grade=“E”
ELSE
only. The Boolean
Grade=“F” expression should be
End Case CASE integer OF or
CASW char OF
Iteration (looping) repetition
This is designed to execute the same
block of code again and again until a
certain condition is fulfilled. Iteration is
important in situations where the same
operation has to be carried out on a set of
data many times. There are three main
looping controls.
THE-WHILE-DO LOOP
REPEAT……….UNTIL LOOP
The FOR LOOP
THE-WHILE-DO LOOP
This repetitive structure tests the condition
first before executing the successful code
if and only if the Boolean expression
returns a true value.
Example
To withdraw money using an ATM a
customer must have a balance in his/her
account.
General format of THE-WHILE DO LOOP
2. Format for the ‘For’ loop that counts from upper limit
down to lower limit
For loop variable = Upper limit Down To Lower
Limit Do
Statements
EndFor
Flowchart for a For Loop that counts upward
Statement
Flowchart for a For Loop that counts downwards
Statement
Examples of complex pseudo codes 1
Ushirika Society pays 5% interest on shares
exceeding Kshs 10,000 and 3% on shares that
do not meet this target. However no interest is
paid on deposits in the member’s bank account.
Design a pseudo code for a program that
would:
a. Prompt the user for shares and deposit of a
particular member.
b. Calculate the interest and total savings.
c. Display the interest and total savings on the screen
for a particular member.
Pseudo code of examples 1
Pseudo code
Start
Input Name, share, Deposit
If share > 10000 THEN
Interest = 0.05*shares
ELSE
Interest=0.03*shares
Endif
Total savings = deposits + Interest + shares
Print Name, Totalsaving, Interest
Stop
Flowchart of example 1
2. A).
Inputs – initial amount borrowed
- Interest rate
- Number of years
Processing – the equation to calculate
monthly repayments.
Output – monthly repayments calculated
by the process
Answer of revision questions 3-3
2. B).
START
Input initial loan borrowed
Input interest rate
Input number of years
Calculate yearly
repayments
Monthly repayments
= yearly repayments/12
Display monthly
repayments
STOP
Chapter 4
System development
289
A system
Is a set of items linked together to carry
out a given task in order to achieve one or
more objectives. A system is described as
being either soft or hard.
Soft systems and hard systems
Soft systems – human activity are said to be
soft systems. They are said to be soft
because:
Their boundaries may be fluid or keep on changing.
Their goals and objectives conflict.
It’s difficult to precisely define exact measures of
performance for them.
Hard systems – these are systems whose
goals and objectives are clearly defined and
the outcomes from the systems processes are
predictable and can be modeled accurately.
System classification
Deterministic system – these are systems whose
output are known precisely by their inputs e.g. a
computer system.
Probabilistic system – these are systems whose
output can only be predicted but not knows
precisely e.g. business and economic system
organisation.
Cybernetic systems – these are self controlling
systems which adapt to the environment and
regulate their own behaviour by accessing the
feedback. They access their output and adjust
the input e.g. human beings, plants systems
Characteristic of systems
1. Holistic thinking 7. Interdependence
2. Sub systems 8. Feedback
3. Processor 9. Control
4. Objectives/purpose 10. Inputs and Outputs
5. Environment 11. System Entropy
6. Boundaries
Holistic thinking and sub systems
Holistic thinking – in this, a system is considered
as a whole. A combination of various
components that makes up a system creates a
complex whole whose overall goals are more
sophisticated than those of the individual
components.
Objectives/purpose – objectives of a
system may be real or stated. An
organization should state one objective
and operate to achieve another user must
know the major objective of a system.
Environment and boundaries
Environment – the environment is the
system within an organisation operates.
Environment provides a reason for the
existence of the system.
Traditional Approach.
Record inspection
Interview
Questionnaires
Record inspection and interview
The documents maintained
in connection to the system
are referenced. This forms a
good starting point for the
analyst to gain an overall
insight of the existing system.
Interview – this is a face to
face communication between
the analysts as the
interviewer and the affected
personnel as interviewee.
The questions are geared to
getting the information
needed by the analysts.
Advantages of interview
The analysts is accessible to first class
information.
Output specification
Input specification
File/data stores
Hardware and software requirements
Output specification
The output specifications entails activities
like generation of reports used to facilitate
decision making. The output can be in the
form of reports either in hardcopy or
softcopy. The quality of those reports is
important. Formality of reports is important
so that good quality reports are produced
for easy understanding.
Input specification
The input to the system in necessary
because the contents of the input are used
to maintain the master files. The following
should be considered in input specification.
Type of changeover
Direct changeover
Parallel changeover
Phase changeover
Direct changeover
In this approach the new system commence live
operation and immediately the old system is
abandoned.
356