Olevel Computer Science Revision Exam Paper
Olevel Computer Science Revision Exam Paper
Campus II
Mid-Year Examination December 2016
Computer Science
Grade XI
INSTRUCTIONS:
Q1 Q2 Q3 Q4 Q5 Total %
Max Marks
12 10 15 6 7 50
Marks Obtained
Grade
Checked by:
Q1) Produce truth table for the following logic circuits. [12 Marks]
i)
(2)
ii)
(3)
Q2) Draw the logic circuits and complete the truth tables for the following logic
statements and Boolean algebra statements: [10 Marks]
Q3) A scenario is described below. In this case, produce the logic circuit and complete a
truth table to represent the scenario. [15 Marks]
a. A chemical process is protected by a logic circuit. There are three inputs to the logic
circuit representing key parameters in the chemical process. An alarm, X, will give
an output value of 1 depending on certain conditions in the chemical process. The
following table describes the process conditions being monitored:
b. A power station has a safety system controlled by a logic circuit. Three inputs to the
logic circuit determine whether the output, S, is 1. When S = 1 the power station
shuts down.
(6)
(7)
Q4) A company selling CDs uses a unique 6-digit identification number for each CD
title. The right-most digit (position 1) is a check digit. [6 Marks]
For example,
check digit
i) 4 2 1 9 2 3
Working:
…………………………………………………………………………………………
…………………………………………………………………………………………
Valid or not valid? …………………………………………………………………….
ii) 8 2 0 1 5 6
Working:
…………………………………………………………………………………………
…………………………………………………………………………………………
Valid or not valid? ………………………………………………………………… [3]
50241_
Working:
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
Use this data and the trace table to dry run the algorithm.
15, 10, 20, 17, 32, 10, 30, 35, 30, 15, 30, 28, 25, 25, 20, 15, 40, 20, 12, 10