131 Number Systems and Data Representation • Unsigned Integer Representation 8 बिट में निरूपित की जा सकने वाली सबसे बड़ी अहस्ताक्षरित पूर्णांक संख्या कौन-सी है? What is the largest unsigned integer that can be represented using 8 bits? A. 255 255 B. 256 256 C. 127 127 D. 128 128 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A 8 बिट में 2⁸ = 256 अलग मान संभव हैं। अहस्ताक्षरित निरूपण में सीमा 0 से 255 तक होती है। Eight bits provide 2⁸ = 256 distinct values. The unsigned range is 0 through 255.
132 Number Systems and Data Representation • Signed Integer Representation 8-बिट टूज़ कॉम्प्लिमेंट निरूपण में पूर्णांकों की सीमा क्या है? What is the integer range of an 8-bit two’s complement representation? A. 0 से 255 0 to 255 B. −127 से +127 −127 to +127 C. −128 से +127 −128 to +127 D. −128 से +128 −128 to +128 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C n-बिट टूज़ कॉम्प्लिमेंट की सीमा −2ⁿ⁻¹ से 2ⁿ⁻¹−1 तक होती है। 8 बिट के लिए यह −128 से +127 है। The n-bit two’s complement range is −2ⁿ⁻¹ to 2ⁿ⁻¹−1. For 8 bits, it is −128 to +127.
133 Number Systems and Data Representation • Binary Complements 8-बिट बाइनरी संख्या 00101101 का वन्स कॉम्प्लिमेंट क्या है? What is the one’s complement of the 8-bit binary number 00101101? A. 11010011 11010011 B. 11010010 11010010 C. 00101110 00101110 D. 10110010 10110010 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B वन्स कॉम्प्लिमेंट में प्रत्येक 0 को 1 और प्रत्येक 1 को 0 किया जाता है। इसलिए 00101101 का वन्स कॉम्प्लिमेंट 11010010 है। One’s complement changes each 0 to 1 and each 1 to 0. Thus, 00101101 becomes 11010010.
134 Number Systems and Data Representation • Binary Complements 8-बिट संख्या 00000101 का टूज़ कॉम्प्लिमेंट क्या है? What is the two’s complement of the 8-bit number 00000101? A. 11111010 11111010 B. 10000101 10000101 C. 00000110 00000110 D. 11111011 11111011 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D पहले सभी बिट उलटने पर 11111010 मिलता है। इसमें 1 जोड़ने पर टूज़ कॉम्प्लिमेंट 11111011 मिलता है। Inverting all bits gives 11111010. Adding 1 produces the two’s complement, 11111011.
135 Number Systems and Data Representation • Binary-Coded Decimal मानक 8421 BCD में दशमलव संख्या 59 का निरूपण कौन-सा है? Which is the standard 8421 BCD representation of decimal 59? A. 0101 1001 0101 1001 B. 0011 1011 0011 1011 C. 0101 1010 0101 1010 D. 0110 1001 0110 1001 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A BCD में प्रत्येक दशमलव अंक को अलग चार बिट में लिखा जाता है। 5 का कोड 0101 और 9 का कोड 1001 है। BCD represents each decimal digit separately using four bits. The code for 5 is 0101 and the code for 9 is 1001.
136 Number Systems and Data Representation • Character Encoding मानक ASCII कितने बिट का कोड है? How many bits are used by standard ASCII? A. 4 बिट 4 bits B. 8 बिट 8 bits C. 7 बिट 7 bits D. 16 बिट 16 bits उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C मानक ASCII 7-बिट कोड है और इसमें 128 कोड मान संभव हैं। इसे विभिन्न 8-बिट विस्तारित एन्कोडिंग से अलग समझना चाहिए। Standard ASCII is a 7-bit code with 128 possible code values. It should be distinguished from various 8-bit extended encodings.
137 Number Systems and Data Representation • Character Encoding Unicode का प्रमुख उद्देश्य क्या है? What is the main purpose of Unicode? A. केवल अंग्रेजी अक्षरों को छोटे आकार में रखना To store only English letters in a smaller size B. विभिन्न भाषाओं के वर्णों और प्रतीकों को मानकीकृत कोड देना To assign standardised codes to characters and symbols from different languages C. हर वर्ण को अनिवार्य रूप से एक बाइट में रखना To require every character to occupy one byte D. केवल संख्यात्मक डेटा को संपीड़ित करना To compress numerical data only उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B Unicode विभिन्न लिपियों के वर्णों और प्रतीकों के लिए मानकीकृत कोड पॉइंट प्रदान करता है। यह सभी वर्णों के लिए एक निश्चित बाइट आकार अनिवार्य नहीं करता। Unicode provides standardised code points for characters and symbols across writing systems. It does not require a single fixed byte size for all characters.
138 Number Systems and Data Representation • Logic Gates दो इनपुट वाले AND गेट का आउटपुट 1 कब होता है? When does a two-input AND gate produce an output of 1? A. जब दोनों इनपुट 0 हों When both inputs are 0 B. जब केवल एक इनपुट 1 हो When exactly one input is 1 C. जब कम से कम एक इनपुट 1 हो When at least one input is 1 D. जब दोनों इनपुट 1 हों When both inputs are 1 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D AND गेट का आउटपुट तभी 1 होता है जब उसके सभी इनपुट 1 हों। किसी भी इनपुट के 0 होने पर आउटपुट 0 होता है। An AND gate produces 1 only when all its inputs are 1. If any input is 0, its output is 0.
139 Number Systems and Data Representation • Logic Gates दो इनपुट वाले XOR गेट का आउटपुट 1 कब होता है? When does a two-input XOR gate produce an output of 1? A. जब दोनों इनपुट अलग हों When the two inputs differ B. जब दोनों इनपुट 0 हों When both inputs are 0 C. जब दोनों इनपुट 1 हों When both inputs are 1 D. जब दोनों इनपुट समान हों When the two inputs are equal उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A दो इनपुट वाले XOR गेट में 01 और 10 पर आउटपुट 1 होता है। 00 और 11 पर आउटपुट 0 होता है। A two-input XOR gate outputs 1 for 01 and 10. It outputs 0 for 00 and 11.
140 Number Systems and Data Representation • Logic Gates कौन-सा युग्म यूनिवर्सल लॉजिक गेटों का है? Which pair consists of universal logic gates? A. AND और OR AND and OR B. XOR और XNOR XOR and XNOR C. NAND और NOR NAND and NOR D. NOT और AND NOT and AND उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C NAND और NOR में से किसी एक प्रकार के गेट का उपयोग करके अन्य मूल गेट और कोई भी बूलियन लॉजिक फलन बनाया जा सकता है। इसलिए इन्हें यूनिवर्सल गेट कहते हैं। Using only NAND gates or only NOR gates, other basic gates and any Boolean logic function can be constructed. They are therefore called universal gates.