Photo AI

Convert the following 8-bit two's complement number into denary - Scottish Highers Computing Science - Question 1 - 2019

Question icon

Question 1

Convert-the-following-8-bit-two's-complement-number-into-denary-Scottish Highers Computing Science-Question 1-2019.png

Convert the following 8-bit two's complement number into denary. 1001 1010

Worked Solution & Example Answer:Convert the following 8-bit two's complement number into denary - Scottish Highers Computing Science - Question 1 - 2019

Step 1

Step 1: Identify the Sign Bit

96%

114 rated

Answer

The first bit (1) indicates that the number is negative in two's complement representation.

Step 2

Step 2: Find the Two's Complement

99%

104 rated

Answer

To find the denary value, first, we convert the number into its positive equivalent by inverting the bits and adding 1:

  • Inverting the bits: 0110 0101
  • Adding 1: 0110 0101 + 0000 0001 = 0110 0110

This gives us the binary number for 102.

Step 3

Step 3: Apply the Sign

96%

101 rated

Answer

Since the original binary number was negative, the denary representation is -102.

Join the Scottish Highers students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;