Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

C.X.

C 1995 PAST PAPER

Attempt All questions.

1. (a) List TWO benefits of COMPUTER AIDED DESIGN and DRAUGHTING. (2


marks)
(b) Name THREE peripheral devices which are used in computer-aided
manufacturing but which are not commonly used in an office. (3 marks)
(c) State a measure, which can be adopted to minimise data and/or program
corruption or loss in the event of a hard disk failure. (2 marks)
(d) What is software piracy? (1 mark )
Total marks 8

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

3. (a) Convert the decimal number 55 to its binary equivalent. (2 marks)


(b) Convert the binary number 1011010 to its decimal equivalent. (2 marks)
(c) Add the binary numbers 11010 and 10011. (2 marks)
(d) The ASCII code for the letter H has a decimal equivalent of 72. What is the
ASCII code for the letter P? (2 marks)
Total marks 8

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

5. (a) Identify FOUR measures taken to secure data. (4 marks)


(b) State TWO advantages and TWO disadvantages of normal mail over electronic
mail. (4 marks)
Total marks 8

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)

(b) State TWO functions of an operating system. (2 marks)

Total marks 8

8. What is printed by the following algorithm?

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

The following is printed:


20, 20, 23, 43, 26, 69, 29, 98
Note: Trace table used to determine the values printed by the algorithm
SUM N
Printed for
0 20
N, SUM: 20, 20, 23, 43, 26, 69, 29, 98
20 23
43 26
69 29
98 32

9. (a) Define the following:

(i) Source Code


(ii) Object Code
(iii) Compiler
Suggested Response

(a) (i) Source Code is a written program using a programming language.

(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)

Read num1, num2, num3

IF num1 = num2 AND num1 = num3 THEN

Page 3 of 5
C.X.C 1995 PAST PAPER

PRINT “Numbers are equal”


ENDIF

IF num1 > num2 THEN


highest num1
lowest num2
ELSE
highest num2
lowest num1
ENDIF

IF num3 > highest THEN highest = num3


IF num3 < lowest THEN lowest = num3

PRINT “Highest number is “, highest


PRINT “Lowest number is “, lowest

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

WHILE score <> 999 DO


IF score = 0 THEN
zeroScore zeroScore + 1
END IF

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

Grand Total 75 marks

Page 5 of 5

You might also like