StreakPeaked· Practice

ExamsGATETechnical

The number −6 can be represented as 1010 in 4-bit 2’s complement representation. Which of the following is/are CORRECT 2’s complement representation(s) of −6?

  1. 1000110 in 8-bits
  2. 11111010 in 8-bits
  3. 1000000000001010 in 16-bits
  4. 1111111111111010 in 16-bits

Correct answer: 11111010 in 8-bits

Solution

The correct option, 11111010 in 8-bits, accurately represents -6 in 2's complement form, as it is derived by inverting the binary representation of +6 (00000110) and adding 1, resulting in 11111010.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →