2210/12/O/N/20 question 2: worked solution (October/November 2020, paper 12)

Show as plain text

Cambridge O Level Computer Science 2210 · 2.2 Methods of error detection Worked solution from the Data transmission Paper 1 Computer Systems booklet, Part 2 of 3. Q18 2210/12/O/N/20 original Q2 Structured · 9 marks Worked solution (a) Count the 1s in each 8-bit value. Even parity means an even number of 1s. Odd parity means an odd number of 1s. 8-bit binary value Number of 1s Parity 11111111 8 Even 01100110 4 Even 01111011 6 Even 10000000 1 Odd Tick Even for 11111111 [1] Tick Even for 01100110 [1] Tick Even for 01111011 [1] Tick Odd for 10000000 [1] (b) Write any five of these points: A value is calculated from the data . [1] It is calculated using an algorithm . [1] The value is appended (added) to the data that is sent. [1] The value is recalculated after transmission . [1] The two values are compared . [1] Also accepted: if they match , the data is correct. If they do not match , there is an error. Write any five points, one mark each (only five marks are given). KEY IDEA Count the 1s to find the parity type; a checksum is calculated before sending and again after, then compared. TOTAL 9 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by O/Alevel CS by Wasiq. Tap the picture to open it on YouTube.