2210_w16_qp_13
A paper of Computer Science, 2210
Questions:
11
Year:
2016
Paper:
1
Variant:
3

Login to start this paper & get access to powerful tools

2
3
4
5
Three switches, A, B and C, each send values of 0 or 1 to a logic circuit. Value X is output from the logic circuit. Switch A Switch B Output X Switch C Logic circuit Output X has a value of 1 depending on the following conditions: Switch A sends value 1 AND Switch B sends value 0 OR Switch B sends value 1 AND Switch C sends value 0 Draw a logic circuit to represent the conditions above. A B C X Complete the truth table for the conditions given at the start of question 5. A B C Working space X 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. Five consecutive output values of 1 indicate a fault condition. Identify which of the following registers shows a fault condition. Parity bit Register Y Register Z Register 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: parity bit column column column column column column column byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 parity byte Identify which of the eight bytes contains an error. byte Identify which column contains an error. column The incorrect bit is indicated where the byte number and column cross. Give the corrected byte. Calculate the denary value of the corrected byte. Considering the fault condition given in part , explain why it is very important that the incorrect bit is located and corrected.
8
10