Home › Previous year questions › GATE 2025 CS (CS1) › Question 25GATE 2025 CS (CS1) – Question 25 Digital Logic · Number Representation and Arithmetic · 1 mark · Multiple select
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$?
1000 1010 in 8-bits 1111 1010 in 8-bits 1000 0000 0000 1010 in 16-bits 1111 1111 1111 1010 in 16-bits Practise this question in The GATE Grind →
Show answer and explanation Correct answer: (B) 1111 1010 in 8-bits; (D) 1111 1111 1111 1010 in 16-bits
Explanation Sign extension replicates the sign bit. -6 is 1111 1010 in 8 bits and 1111 1111 1111 1010 in 16 bits. Padding with 1000... gives a different value.
More Number Representation and Arithmetic questions GATE 2024 CS (CS2) Q49 – Which of the following is/are EQUAL to 224 in radix-5 (i.e., base-5) notation? GATE 2023 CS Q32 – A particular number is written as 132 in radix-4 representation. The same number in… GATE 2022 CS Q18 – Let R1 and R2 be two 4-bit registers that store numbers in 2’s complement form. For the… GATE 2021 CS (CS1) Q16 – Let the representation of a number in base 3 be 210. What is the hexadecimal… GATE 2021 CS (CS1) Q34 – Consider the following representation of a number in IEEE 754 single-precision floating… GATE 2019 CS Q14 – In 16-bit 2's complement representation, the decimal number -28 is: All Number Representation and Arithmetic questions →