bigmack5423 bigmack5423
  • 21-08-2019
  • Computers and Technology
contestada

Convert the decimal number -17 to binary (2's complement)

Respuesta :

Branta Branta
  • 02-09-2019

Answer:

1111111111101111

Explanation:

The binary representation of 17 is 0000000000010001.

In order to get the binary representation of -17 we need to calculate the 2's complement of 0000000000010001.

Step 1 : 1s complement of 0000000000010001 = 1111111111101110

Step 2 : 2s complement => 1111111111101110 + 1 = 1111111111101111

This actually corresponds to the negative of the original number which was 17.

So the 2s complement representation of -17 is 1111111111101111 .

Answer Link

Otras preguntas

what does 'blow by blow' mean?
Who was Tchaikovsky? need help pls
SITUATION. My teacher gave me a situation and please answer honestly. Let say you weigh between 118-120 pounds. Your parents noticed you have gained weight and
After decaying for 48 hours, l/16 of the original mass of a radioisotope sample remains unchanged. What is the half-life of this radioisotope?
Y = {x | x Element of Set N and 16 < x < 25} ?
what is choreography? please help
how to plot m>0 on a number line
The recommended dose of Vancocin® for a severe staphylococcal infection is 40 mg/kg/day.  The adult weighs 180 pounds and is to receive the medication IV q6h
SITUATION. My teacher gave me a situation and please answer honestly. Let say you weigh between 118-120 pounds. Your parents noticed you have gained weight and
What is the function of the pituitary gland?