wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider a parity check code with three data bits and four parity check bits. Three of the code words are 0101011, 1001101 and 1110001.

Which of the following are also code words?
I. 0010111 II. 0110110
III. 1011010 IV. 0111010

A
II and IV
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
I, II and III
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
I, II, III and IV
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
I and III
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D I and III
Consider first 3 bits x1.x2 and x3 are
data bits and last 4 bits
c1,c2,c3 and c4 are parity check bits
i.e., 0101011 will be
x1(0),x2(1),x3(0),c1(1),c2(0),c3(1) and c4(1)

By analysing pattern used to create parity bits i.e., here
x1 x2 x2 c1=x1x3 c2=x2x3 c3=x2x3 c4=x1x2x3
0
1
1
1
0
1
0
0
1
1
1
0
0
1
0
1
0
0
1
1
1
So by applying same rule to find other code words.
x1 x2 x3 c1=x1x2 c2=x1x3 c3=x2x3 c4=x1x2x3
0
0
1
0
0
1
0
1
1
1
1
1
0
1 0 so fail
1
1
1

1
1 0 so fail
1

1
1

0

So only Ist and IIIrd are code word.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
China
CIVICS
Watch in App
Join BYJU'S Learning Program
CrossIcon