Comp PP1 MS
Comp PP1 MS
6. 11010-AB16=T8 3 Marks
AB16= (10x161) + (11x160)
=17110
11010+17110=28110
Convert 28110 to octal=4318
7. State any two factors one would consider when selecting any data output device. 2 marks
Speed of the output device
Nature of the output
12. 4 marks
Discuss two computational errors giving example in each case.
i) Overflow errors- It occurs if the results from a calculation is too large to be stared
in the allocated memory space eg If a byte represented using 8 bits, an overflow will
occur if the results of the calculation gives a bit (1)00111011
2|8
ii) Truncation error-When a real number have a long fractional part which is
cut off eg 0.784968 -0.984
13. 2 marks
Differentiate between worm and a virus.
A WORM is a malicious program that self-replicates hence clogs the system memory
and storage media a virus is a destructive program that attaches itself on a removable
drive and causes damage to computer systems such as deleting system files.
14. 2 marks
Differentiate sequential file organization from indexed sequential file
organization
15. Give any THREE functions of the central processing unit (CPU) 3 marks
The arithmetic logic unit (ALU) is a digital circuit that calculates an arithmetic
operation (addition, subtraction, etc.) and logic operations (Or, AND, etc.)
between two numbers.
The control unit is the part of the CPU that directs its operation and other parts of
the computer. The outputs of the unit control the activity of the rest of the device.
The main memory temporarily holds data; they help the CPU in executing
instructions by the control unit.
This unit controls, co-ordinates, supervises and oversees all activities in the
computer.
It monitors the execution of any program processed.
It determines the sequence in which instructions are executed.
40 marks
b Give any three objectives that fourth generation languages were designed to meet. 3 marks
Make programming easier
Present programmer with programming tools
To free programmer from tedious work of writing code
To have graphical codes by use of the available graphical objects
3|8
C i Start
starttime=0 Initialize=1
Endtime=0 Control
Speed=0 Structure
For Vehicles=1 To 500 Do Loop=1
Input Start Time Selection=1
Input Stop Time I/O=1
Speed =100/(End Time-Start Time) Logic=1
Print Speed
If Speed >100 Then
Print Over Speeding Total= 5
Else marks
Print Normal Speed
ENDIF
NEXT VEHICLE
ENDFOR
STOP
4|8
START
starttime=0
Endtime=0 Initialize=1
Speed=0 I/O= 1
Vehicle=1 Process=1/2
Decision=1
Logic=1/2
Correct
symbols=1
C ii
Total=
5 marks
5|8
17. Distinguish between the following sets of terms as used in spreadsheets 2 marks
a) i) Worksheet – The component in which data values are entered
Workbook- A group of worksheets 2 marks
6|8
c Reasons why the company would like to introduce a new information 3 marks
system?
i. New changes in the organization
ii. Problems in the current system
iii. New opportunities
d System changeover strategies that are likely to be used. 4 marks
Direct/straight changeover: In this strategy, the old system is stopped,
terminated and discarded and the new system is started immediately.
Phased changeover: In this strategy, the new system is introduced gradually,
one stage at a time. The next phase is only introduced when the performance of the
previous phase is satisfactory and already adopted.
Pilot running: In this strategy, the new system is introduced in a branch or
section of the organization. It is then tested to ascertain its effectiveness. Once its
performance is satisfactory, it is then implemented in the entire organization. It is
best suited where an organization has many branches that carry out similar
activities.
Parallel running: In this strategy, the new system and the old system are run
concurrently as the performance of the two systems are compared. Once satisfied
with the performance of the new system, the old one is terminated.
19. An intranet access is restricted to a company or an organization unlike the internet 1 marks
a) which is worldwide hence being exposed to many users which increases the risk of
unauthorized access.
c) Speed of communication between N &O is increased since the traffic between the
two branches can be rerouted through link NO
If either MO or MN is down the three branches can still communicate 4 marks
If the headquarter fails the two branches MO can still communicate
d) Digital transmission has higher noise tolerance hence suffer less attenuation
It is easier to design digital systems
Digital systems are more reliable and smaller in 2 marks
20. Describe the following computer memories. 2 marks
7|8
a) i) Register: A special high speed storage location or (memory within the CPU that
temporarily stores data/information/ instructions during processing.
ii) Cache: A fast memory within the computer that stores frequently used data/
instructions for fast access by the CPU. 2 marks
B Explain Real-time Processing data processing mode giving two areas where it Must
can be used. mention:
In this mode, data input is processed as it is received and the output Input
made available immediately to influence an ongoing activity. This mode is ideal Process
for critical systems. Examples include: Feedback=
computer system monitoring patients in a hospital Intensive Care 3 marks
Unit Examples 2
automatic control of temperature, pressure in industrial systems marks
point of sale systems Total=
Reservation systems 5 marks
ATMS
Online banking etc.
c Describe any two coding schemes used in Data representation 4 Marks
Binary Coded Decimal: Binary Coded Decimal is a 4-bit code used to represent
numeric data only. For example, a number like 9 can be represented using Binary
Coded Decimal as 10012, Binary Coded Decimal system is mostly used in simple
electronic devices like calculators and microwaves.
Extended Binary Coded Decimal Interchange Code (EBCDIC): Extended
Binary Coded Decimal Interchange Code (EBCDIC) is an 8¬bit character coding
scheme used primarily on IBM computers. A total of256 (28) characters can be
coded using this scheme.
American Standard Code for Information Interchange (ASCII): American
Standard Code for Information Interchange (ASCII) is a 7-bit code, which means
that only 128 characters i.e. 27 can be represented. However manufacturers have
added an eighth bit to this coding scheme, which can now provide for 256
characters.
d list four devices controlled by the operating system 2 marks
Processor
Main memory
Secondary storage
Input/output devices
Communication devices
e Define a laptop 2 marks
This is a portable electronic device that works under a set of instructions,
to accept data from the user (input), to process it to information (output)
and it is capable of storing the information for future use.
8|8