Computer AwarenessVery hardSSC CGL Tier 2 · IBPS PO Mains · IBPS/SBI

What is the 8-bit two's complement representation of the decimal number -45 in hexadecimal?

  1. A. D2
  2. B. 2D
  3. C. D3
  4. D. B3

Correct answer: C. D3

45 is 00101101; inverting the bits gives 11010010 and adding 1 gives 11010011 = D3. D2 is the one's complement, which forgets the +1.

हिंदी में

दशमलव संख्या -45 का 8-बिट टू'ज़ कॉम्प्लिमेंट निरूपण षोडशआधारी में क्या है?

  1. A. D2
  2. B. 2D
  3. C. D3
  4. D. B3

उत्तर: C. 45 = 00101101; बिट्स उलटने पर 11010010 मिलता है और 1 जोड़ने पर 11010011 = D3। D2 वन'ज़ कॉम्प्लिमेंट है, जिसमें +1 भूल गया है।

More Computer Awareness questions

Exams that ask this topic