Computer Science EngineeringHard

What is the 5-bit two's complement representation of the decimal number -13?

  1. A. 10010
  2. B. 10110
  3. C. 10100
  4. D. 10011

Correct answer: D. 10011

13 = 01101; inverting gives 10010 and adding 1 gives 10011.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic