81.6k views
0 votes
What is the 5-bit 2's-complement equivalent of 1210?

1 Answer

3 votes

Final answer:

To find the 5-bit 2's-complement of 12, first convert it to binary to get 1100, then add a leading zero to make it a 5-bit number, which results in 01100.

Step-by-step explanation:

The question asks for the 5-bit 2's-complement equivalent of the decimal number 12 (1210). To convert a positive decimal number to its 2's-complement form, you first convert it to binary, then invert the bits, and finally add 1 to the inverted number.

Here's the step-by-step process:

  1. Convert 12 to binary: 1210 = 11002
  2. Since it's a positive number, its 2's-complement is the same as its binary representation in 5 bits: 01100 (Adding leading zeros to make it a 5-bit number).

Therefore, the 5-bit 2's-complement equivalent of 1210 is 01100.

User Nazrul
by
7.8k points