Computer AwarenessHardIBPS SO IT Officer · SSC CGL

In 8-bit one's complement representation, how many bit patterns stand for zero, and what range of integers can be stored?

  1. A. One pattern; −128 to +127
  2. B. Two patterns; −128 to +127
  3. C. One pattern; −127 to +127
  4. D. Two patterns; −127 to +127

Correct answer: D. Two patterns; −127 to +127

Both 00000000 (+0) and 11111111 (−0) mean zero in one's complement, so the range is only −127 to +127; a single zero with −128 to +127 is two's complement.

हिंदी में

8-बिट वन’ज़ कॉम्प्लिमेंट निरूपण में शून्य के लिए कितने बिट पैटर्न होते हैं, और पूर्णांकों की कौन-सी रेंज संग्रहीत हो सकती है?

  1. A. एक पैटर्न; −128 से +127
  2. B. दो पैटर्न; −128 से +127
  3. C. एक पैटर्न; −127 से +127
  4. D. दो पैटर्न; −127 से +127

उत्तर: D. वन’ज़ कॉम्प्लिमेंट में 00000000 (+0) और 11111111 (−0) दोनों शून्य का अर्थ रखते हैं, इसलिए रेंज केवल −127 से +127 है; एक शून्य के साथ −128 से +127 टू’ज़ कॉम्प्लिमेंट है।

More Computer Awareness questions

Exams that ask this topic