Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

GATE | GATE-IT-2004 | Question 84

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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) I and III
(B) I, II and III
(C) II and IV
(D) I, II, III and IV

Answer: (A)

a = 0101011
b = 1001101
c = 1110001

XOR of two codewords is itself a codeword.

a XOR c = 1011010
Thus, III is a codeword.

d = 1011010
b XOR d = 0010111
Thus, I is a codeword.

Thus, option (A) is correct.

Please comment below if you find anything wrong in the above post.

Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads