Computer AwarenessVery hardIBPS SO IT · SBI PO
The 8-bit pattern 11110110 stores a signed integer in two's complement form. What is its value?
- A. −118
- B. 246
- C. −10
- D. −9
Correct answer: C. −10
The MSB is 1, so it is negative; inverting and adding 1 gives 00001010 = 10, so the value is −10. −118 is the sign-magnitude reading, 246 the unsigned reading and −9 the one's-complement reading.
हिंदी में
8-बिट पैटर्न 11110110 एक चिह्नित पूर्णांक को टू’ज़ कॉम्प्लिमेंट रूप में संग्रहीत करता है। उसका मान क्या है?
- A. −118
- B. 246
- C. −10
- D. −9
उत्तर: C. MSB 1 है, इसलिए संख्या ऋणात्मक है; बिट उलटकर 1 जोड़ने पर 00001010 = 10 मिलता है, इसलिए मान −10 है। −118 साइन-मैग्निट्यूड पाठ है, 246 अचिह्नित पाठ है और −9 वन’ज़ कॉम्प्लिमेंट पाठ है।
More Computer Awareness questions
- The Gray code 1101 is converted back into ordinary binary. What is the result?
- What is (7A)₁₆ + (2C)₁₆, written in hexadecimal?
- How many of these gates are 'universal', i.e. able to build every other logic function on their own: NAND, NOR, XOR, AND?
- Which type of ROM is erased by exposing the chip to ultraviolet light through a small quartz window on its package?
- Assertion (A): Dynamic RAM must be refreshed thousands of times every second. Reason (R): DRAM stores each bit as charge in a tiny…
- Which sequence correctly describes what happens when a PC is switched on?