Asked: U.P. Lower Sub. (Mains) 2013medium Level
QUESTION STATEMENT:द्विभाषी / Bilingual
निम्नलिखित में से कौन सेल्फ कॉम्प्लिमेंटरी कोड है ?
Which of the following is a self-complementing code?
SELECT CORRECT OPTION:
A
8421 कोड
8421 code
B
Correct5211 कोड
5211 code
C
ग्रे कोड
Gray code
D
बाइनरी कोड
Binary code
Official Solution & Explanation:
Correct Answer: Option B(5211 कोड)
जिन कोडों के भारों (weights) का योग 9 होता है, वे सेल्फ कॉम्प्लिमेंटिंग कोड (Self-complementing codes) होते हैं। 5211 कोड में भारों का योग $5 + 2 + 1 + 1 = 9$ है, अतः यह सेल्फ कॉम्प्लिमेंटरी कोड है। अन्य उदाहरण 2421 तथा Excess-3 कोड हैं।
A weighted code is self-complementary if the sum of all its weights equals 9. In 5211 code, $5+2+1+1=9$, making it self-complementing.
Subject: General Science•Topic: Computer & Information Technology•Subtopic: Computer & Information Technology
Practice this topic in CBT