GateAI
Number Representation and Arithmetic

GATE CSE 2025 Set 1 · Q25

MSQ1 markEasy

Time

The number −6-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-6?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: B) 1111 1010 in 8-bits; D) 1111 1111 1111 1010 in 16-bits

Number Representation and Arithmetic

To extend an nn-bit 2's complement number to a higher bit-width, sign extension is performed, which copies the most significant bit (the sign bit) into all the new higher-order bit positions.

For the given 4-bit representation of −6-6:

4-bit: 10102\text{4-bit: } 1010_2

The sign bit (MSB) is 11.

  • 8-bit representation: Replicate the sign bit (11) for the 44 additional higher-order bits:

    1111 101021111\ 1010_2

    Hence, B is correct, while A is incorrect.

  • 16-bit representation: Replicate the sign bit (11) for the 1212 additional higher-order bits:

    1111 1111 1111 101021111\ 1111\ 1111\ 1010_2

    Hence, D is correct, while C is incorrect.

Therefore, the correct options are B and D.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Number Representation and Arithmetic previous year question is Q25 of the GATE CSE 2025 Set 1 paper. Find more GATE CSE PYQs on Number Representation and Arithmetic in Digital Logic, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Number Representation and Arithmetic PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Number Representation and Arithmetic in GATE CSE

Number Representation and Arithmetic has 33 GATE CSE PYQs across 20 papers from 2012 to 2026. 3 of them are 1-mark MSQs like this one, and it is the only one in GATE CSE 2025 Set 1.

How GATE tests Number Representation and Arithmetic

More from GATE CSE 2025 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2025 Set 1 · Q25 · MSQ

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?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.