1.

A two-out-of-five code consists of _________(a) Two 0s and three 1s(b) Three 0s and two 1s(c) Four 0s and one 1s(d) One 0s and four 1sI have been asked this question by my school teacher while I was bunking the class.The question is from Checksum, Complexity Classes & NP Complete Problems topic in chapter Checksum, Complexity Classes & NP Complete Problems of Data Structures & Algorithms II

Answer»

The correct option is (B) Three 0S and two 1s

Best explanation: A two-out-of-five code consists of three 0s and two 1s. Hence, it contains TEN POSSIBLE combinations to represent DIGITS from 0-9.



Discussion

No Comment Found

Related InterviewSolutions