31 Number Systems and Data Representation • Number Systems बाइनरी जोड़ 10101 + 01111 का परिणाम क्या है? What is the result of the binary addition 10101 + 01111? A. 100100 100100 B. 100010 100010 C. 101000 101000 D. 110100 110100 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A बाइनरी 10101 का दशमलव मान 21 और 01111 का मान 15 है। योग 36 है, जिसका बाइनरी रूप 100100 है। Binary 10101 equals decimal 21, and 01111 equals 15. Their sum is 36, represented as 100100 in binary.
32 Number Systems and Data Representation • Number Systems बाइनरी घटाव 11010 − 01101 का परिणाम क्या है? What is the result of the binary subtraction 11010 − 01101? A. 01011 01011 B. 01111 01111 C. 01101 01101 D. 10101 10101 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C बाइनरी 11010 का दशमलव मान 26 और 01101 का मान 13 है। अंतर 13 है, जिसका पाँच-बिट बाइनरी रूप 01101 है। Binary 11010 equals decimal 26, and 01101 equals 13. Their difference is 13, represented in five bits as 01101.
33 Number Systems and Data Representation • Data Representation केवल 4 बिट में unsigned परिणाम रखने पर 1111 + 0001 का संग्रहीत परिणाम क्या होगा? If an unsigned result is stored using only 4 bits, what will be stored after adding 1111 + 0001? A. 1110 1110 B. 0001 0001 C. 1000 1000 D. 0000 0000 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D 1111 + 0001 = 10000, जिसके लिए पाँच बिट चाहिए। केवल निचले चार बिट रखने पर 0000 संग्रहीत होगा और एक carry बाहर निकलेगा। 1111 + 0001 = 10000, which requires five bits. Keeping only the lower four bits stores 0000, with a carry out.
34 Number Systems and Data Representation • Data Representation दशमलव संख्या 59 का 8421 BCD निरूपण क्या है? What is the 8421 BCD representation of decimal number 59? A. 0101 1001 0101 1001 B. 0011 1011 0011 1011 C. 0101 1010 0101 1010 D. 0010 1111 0010 1111 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A BCD में प्रत्येक दशमलव अंक अलग चार-बिट समूह में लिखा जाता है। 5 = 0101 और 9 = 1001, इसलिए 59 = 0101 1001। In BCD, each decimal digit is encoded separately using four bits. Since 5 = 0101 and 9 = 1001, 59 is 0101 1001.
35 Number Systems and Data Representation • Data Representation निम्नलिखित चार-बिट समूहों में से कौन-सा एक दशमलव अंक का वैध 8421 BCD कोड नहीं है? Which of the following four-bit groups is not a valid 8421 BCD code for a single decimal digit? A. 0111 0111 B. 1001 1001 C. 1010 1010 D. 0011 0011 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C 8421 BCD में एक दशमलव अंक के लिए केवल 0000 से 1001 तक के कोड मान्य हैं। 1010 दशमलव 10 को दर्शाता है और एकल BCD digit के रूप में अमान्य है। For one decimal digit, 8421 BCD uses only the codes 0000 through 1001. The group 1010 represents decimal 10 and is invalid as a single BCD digit.
36 Number Systems and Data Representation • Data Representation मानक ASCII में अंग्रेज़ी के संबंधित uppercase और lowercase अक्षरों के दशमलव कोडों में कितना अंतर होता है? In standard ASCII, what is the difference between the decimal codes of corresponding uppercase and lowercase English letters? A. 16 16 B. 32 32 C. 26 26 D. 64 64 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B ASCII में संबंधित lowercase अक्षर का कोड uppercase अक्षर से 32 अधिक होता है। उदाहरणतः A का कोड 65 और a का कोड 97 है। In ASCII, the code of a corresponding lowercase letter is 32 greater than that of the uppercase letter. For example, A is 65 and a is 97.
37 Number Systems and Data Representation • Data Representation Unicode विकसित करने का प्रमुख उद्देश्य क्या है? What is the principal purpose of Unicode? A. केवल अंग्रेज़ी के 26 अक्षर दर्शाना To represent only the 26 English letters B. केवल चित्र फ़ाइलों को संपीड़ित करना To compress only image files C. कंप्यूटर की clock speed बढ़ाना To increase computer clock speed D. विभिन्न भाषाओं और लेखन प्रणालियों के कैरेक्टरों को एक समान मानक में दर्शाना To represent characters from different languages and writing systems in a common standard उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D Unicode विभिन्न भाषाओं, लिपियों, चिह्नों और प्रतीकों के लिए विशिष्ट code points प्रदान करता है। यह किसी एक फ़ॉन्ट या केवल अंग्रेज़ी तक सीमित नहीं है। Unicode assigns distinct code points to characters from many languages, scripts and symbol systems. It is not limited to one font or to English.
38 Number Systems and Data Representation • Data Representation डेटा बिट 1011001 के साथ odd parity बनाए रखने के लिए कौन-सा parity bit जोड़ा जाएगा? Which parity bit should be added to the data bits 1011001 to obtain odd parity? A. 1 1 B. 0 0 C. दो बिट 01 Two bits, 01 D. दो बिट 10 Two bits, 10 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A 1011001 में चार 1 हैं, जो सम संख्या है। कुल 1 की संख्या विषम करने के लिए parity bit 1 जोड़ा जाएगा। The data 1011001 contains four 1s, an even count. Adding a parity bit of 1 makes the total number of 1s odd.
39 Number Systems and Data Representation • Data Representation बाइनरी डेटा की parity गणना में XOR गेट उपयोगी क्यों है? Why is an XOR gate useful in calculating the parity of binary data? A. यह इनपुट की संख्या की परवाह किए बिना हमेशा 1 देता है It always gives 1 regardless of the inputs B. यह दो बिट समान होने पर ही 1 देता है It gives 1 only when two bits are equal C. कई बिटों पर क्रमिक XOR का परिणाम 1 होता है जब 1-बिटों की संख्या विषम हो Successive XOR across multiple bits gives 1 when the number of 1-bits is odd D. यह हर बाइनरी संख्या को दशमलव में बदलता है It converts every binary number into decimal उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C XOR दो अलग इनपुट पर 1 देता है। कई बिटों पर क्रमिक XOR लागू करने से विषम संख्या में 1 होने पर अंतिम परिणाम 1 मिलता है। XOR outputs 1 for two unequal inputs. When applied successively across multiple bits, the final result is 1 if the number of 1-bits is odd.
40 Number Systems and Data Representation • Data Representation दशमलव संख्या 1024 का बाइनरी निरूपण क्या है? What is the binary representation of decimal number 1024? A. 1111111111 1111111111 B. 1000000000 1000000000 C. 10000000000 10000000000 D. 11111111111 11111111111 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C 1024 = 2¹⁰। इसलिए इसके बाइनरी निरूपण में 1 के बाद 10 शून्य होते हैं: 10000000000। 1024 = 2¹⁰. Therefore, its binary representation is 1 followed by 10 zeros: 10000000000.