1
GATE ECE 2001
+1
-0.3
The 2’s complement representation of –17 is
A
01110
B
01111
C
11110
D
10001
2
GATE ECE 1998
+1
-0.3
An equivalent 2’s complement representation of the 2’s complement number 1101 is
A
110100
B
001101
C
110111
D
111101
3
GATE ECE 1997
+1
-0.3
A signed integer has been stored in a byte using the 2's complement format. We wish to store the same integer in a 16-bit word. We should
A
copy the original byte to the less significant byte of the word and fill the more significant with zeros
B
copy the original byte to the more significant byte of the word and fill the less significant with zeros
C
copy the original byte to the less significant byte of the word and make each bit of the more significant byte equal to the most significant bit of the original byte
D
copy the original byte to the less significant byte as well as the more significant byte of the word
4
GATE ECE 1993
+1
-0.3
2’s complement representation of a 16-bit number (one sign bit and 15 magnitude bits) is FFFI. Its magnitude in decimal representation is
A
$$0$$
B
$$1$$
C
$$32, 767$$
D
$$65,535$$
EXAM MAP
Medical
NEET