(a) The table shows some data being transmitted with even parity. Complete the parity bit for each row and identify any rows with errors. Row D7 D6 D5 D4 D3...

Assessment: Computer Science 0478 | Paper 1 Mock 01 | Computer Systems Subject: Computer Science - 0478

Question 1 Report

(a) The table shows some data being transmitted with even parity. Complete the parity bit for each row and identify any rows with errors.

RowD7D6D5D4D3D2D1Expected parityReceived parityError?
11011010 0 
20100111 0 
31110001 1 

[4]

Answer Details

(a) The system uses even parity, so the expected parity bit should make the total count of 1-bits even. [4]

RowData bitsCount of 1s in dataExpected parityReceived parityError?
11 0 1 1 0 1 01+0+1+1+0+1+0 = 4 (even)00No error [1]
20 1 0 0 1 1 10+1+0+0+1+1+1 = 4 (even)00No error [1]
31 1 1 0 0 0 11+1+1+0+0+0+1 = 4 (even)01Yes, error detected [1]

For Row 1, the data has four 1-bits (already even), so the expected parity bit is 0 and the received parity is 0: no error. For Row 2, the data again has four 1-bits, expected parity is 0, received is 0: no error. For Row 3, the data has four 1-bits, so the expected parity is 0, but the received parity is 1. The total (4 + 1 = 5) is odd, which violates even parity: error detected. [1]

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning