85.3k views
1 vote
What is the 8 bit binary representation nof the decimal number
-38?(two's complement)

1 Answer

3 votes

Final answer:

The 8-bit binary representation of -38 in two's complement is 11011010.

Step-by-step explanation:

The binary representation of a negative number in two's complement is found by inverting the binary representation of its positive counterpart and adding 1 to the least significant bit. To find the 8-bit binary representation of -38 in two's complement, we start with the binary representation of 38, which is 00100110.

Inverting the bits gives us 11011001. Finally, we add 1 to the least significant bit, which results in 11011010 as the 8-bit binary representation of -38 in two's complement.

User Krl
by
7.8k points