Computer Science (2210) Sample Paper For O Level 1
Computer Science (2210) Sample Paper For O Level 1
Section A
4AF
[3]
(b) The 2016 Olympic Games will be held in Rio de Janeiro. A timer that counts down to the
opening of the Games is shown on a microprocessor-controlled display.
The number of hours, minutes and seconds until the Games open are held in three 8-bit
registers.
0 1 1 0 1 0 0 1 105 hours
0 0 1 0 0 0 0 0 32 minutes
0 0 0 1 0 1 0 0 20 seconds
(i) Show the values in each 8-bit register 30 seconds after the time shown above:
hours
minutes
seconds
[3]
(ii) Write the hexadecimal value of the minutes register from part (b)(i).
.............................................................................................................................. .........[1]
. of bytes.
(iii) Computer memories are measured in terms of the number
[1]
2
(a) Write the binary numbers that would be produced from this barcode:
%LQDU\QXPEHU$ %LQDU\QXPEHU%
Binary number A:
Binary number B:
[2]
Write the parity bit for each of the binary numbers in part (a):
Parity bit
Binary number A:
Binary number B:
[2]
3 (a) A microprocessor regularly samples the output, X. Each sample value is stored in an 8-bit
register as shown below. One bit of this register is reserved as a parity bit.
1 1 1 1 1 0 0 1 Register Y
0 1 0 1 1 1 1 1 Register Z
Register .............................................[1]
(b) When eight bytes of data have been collected, they are transmitted to a computer 100 km
away. Parity checks are carried out to identify if the data has been transmitted correctly. The
system uses even parity and column 1 is the parity bit.
The eight bytes of data are sent together with a ninth parity byte:
byte ...............................................................................................................................[1]
column ...........................................................................................................................[1]
(iii) The incorrect bit is indicated where the byte number and column cross.
[1]
...........................................................................................................................................
.......................................................................................................................................[1]
(v) Considering the fault condition given in part (c), explain why it is very important that the
incorrect bit is located and corrected.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[2]
© UCLES 2016 2210/13/O/N/16
4
(a)
Draw an arrow or arrows to show simplex, duplex and half-duplex data transmission. The
direction of the data transmission must be fully labelled.
Computer A Computer B
Computer A Computer B
Computer A Computer B
[6]
(b)
State a use for the following data transmission methods. The use must be different for each
data transmission method.
Simplex �������������������������������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������������������������
Duplex ��������������������������������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������������������������
[2]
5 Ahmed uses the Internet for some time and is puzzled by the terminology.
[5]
6
6. Draw the Symbolic representation and fill the Truth Table for each given Logic Gate.
Symbolic
Name Truth Table
Representation
INPUTS OUTPUT
A B X
AND
INPUTS OUTPUT
A B X
OR
INPUTS OUTPUTS
NOT
INPUTS OUTPUT
A B X
NAND
INPUTS OUTPUT
A B X
NOR
INPUTS OUTPUT
A B X
XOR (Exclusive
OR)
[18]
7
Section B
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[5]
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[5]
8
c. Input Temperature in Fahrenheit and convert it into Celsius. (Hint: C = 5/9* (F-32 ))
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[5]
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[5]
9
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[5]