Professional Documents
Culture Documents
CXC 1995
CXC 1995
2. Draw a labeled diagram showing the main components of a computer system, indicating
clearly the direction I which data flows. (6 marks)
Total marks 6
4. When a program makes a read request too the hard disk, the device which reads data
from the disk is moved along a radius to the particular concentric circle on which the
data is stored. When the relevant part of the concentric circle of the disk arrives under
the device which reads data, the data is read and stored in a special area of memory from
which it could be accessed.
State the proper technical term for EACH of the FOUR underlined phrases in the
passages above. (4 marks)
Total marks 4
Page 1 of 5
C.X.C 1995 PAST PAPER
6. (a) List FOUR ways in which medical personnel may use information technology in
their jobs. (4 marks)
(b) State TWO job functions of EACH of the following computer personnel:
(a) Network manager (2 marks)
(b) Database manager (2 marks)
Total marks 8
7. (a) John received computer hardware from a friend who lives in the United States of
America, but the software was missing. He, therefore, decided to purchase the
necessary software. In order for his system to run he realised that he would have
to purchase software to manage the resources of the computer as well as software
which could provide for his particular processing needs. For both types of
software he had a choice of two styles of interface; one which was command
driven or the other which provided screen listings with options from which the
user could select appropriate functions. Some software provides user interfaces
which display small graphic images that can be selected when the function they
represented is required. Since John intended to use the computer in his family
business, he had a choice of acquiring software written especially for his business
or general-purpose software. He noted, however, that if he purchased general-
purpose software, that he would have to do some modifications to allow it to meet
his specific need.
State the proper technical term for EACH of the SIX underlined phrases in the
above passage.
(6 marks)
Total marks 8
SUM = 0
N = 20
WHILE N < 30 DO
SUM = SUM + N
PRINT N, SUM
N=N+3
END WHILE (5 marks)
Total marks 5
Page 2 of 5
C.X.C 1995 PAST PAPER
Suggested Response
(ii) Object Code is the machine language version of a program produced by a compiler or interpreter.
(iii) Compiler is a program that converts or translates a high-level language program into machine code and
saves the code to a file (the object program) for later execution
(3 marks)
(b) Draw a labeled diagram to illustrate the relationship between source code, object
code and a compiler.
(1 mark)
(c) Write a pseudocode algorithm to read in THREE numbers and print the highest
and lowest number. (6 marks)
Page 3 of 5
C.X.C 1995 PAST PAPER
Total marks 10
10. The following data represents some samples scores obtained by students in a test:
5, 4, 7, 10, 0, 6, 2, 0, 1, 0, 9, 8, 999
999 is the dummy value which terminates the data. Write a pseudocode algorithm to read
any data in the above format, and print the number of students scoring 0 and the number
of students scoring 10. (10 marks)
Suggested Response
score 0
zeroScore 0
tenScore 0
INPUT score
IF score = 10 THEN
tenScore tenScore + 1
END IF
INPUT score
END WHILE
PRINT “Number of students scoring zero: “, zeroScore
PRINT “Number of students scoring ten: “, tenScore
Page 4 of 5
C.X.C 1995 PAST PAPER
Total marks 10
Page 5 of 5