To represent -5 in binary using two's complement, you first need to determine how many bits are required for the positive equivalent, which is 5. In binary, 5 is represented as 101. To accommodate the negative sign, you typically use at least 8 bits for clarity, which would represent -5 as 11111011 in two's complement. Therefore, at least 8 bits are needed to represent -5 in this format.
Copyright © 2026 eLLeNow.com All Rights Reserved.