Computer AwarenessHardIBPS SO IT · SBI PO

A 16-bit register holds (FFFF)₁₆, read as a two's-complement signed integer. What value does it hold?

  1. A. 65535
  2. B. −32768
  3. C. −1
  4. D. −32767

Correct answer: C. −1

All 16 bits are 1; inverting gives 0 and adding 1 gives 1, so the value is −1. 65535 is the unsigned reading, and −32768 is the pattern 8000.

हिंदी में

एक 16-बिट रजिस्टर में (FFFF)₁₆ है, जिसे टू’ज़-कॉम्प्लिमेंट चिह्नित पूर्णांक के रूप में पढ़ा जाता है। उसमें कौन-सा मान है?

  1. A. 65535
  2. B. −32768
  3. C. −1
  4. D. −32767

उत्तर: C. सभी 16 बिट 1 हैं; उलटने पर 0 मिलता है और 1 जोड़ने पर 1, इसलिए मान −1 है। 65535 अचिह्नित पाठ है, और −32768 पैटर्न 8000 है।

More Computer Awareness questions

Exams that ask this topic