IAE Academy

GATE 2026 EC Q.45: solution and answer

GATE 2026 · ECQ.45 · 2 marks · MCQ

What is the complement of ?

  1. (A)

    52

  2. (B)

    53

  3. (C)

    54

  4. (D)

    55

See the question in the paper

Answer and solution

ANSWER

The 10's complement of is , option (B).

Official answer: BSource: Official answer key, GATE 2026 EC (IIT Guwahati)

  1. For an -digit number in base , the 's complement is . Here , and has digits.

  2. Apply the formula directly: .

  3. Check it with the 9's complement. The 's complement is , which just replaces each digit with (so and ). Adding 1 gives the 10's complement: .

  4. Check the sum: . Drop the end carry and is left, which is what a number plus its 's complement must give. That is why the complement can stand for in subtraction.

  5. So the 10's complement of is , option (B).

KEY IDEA

In base , the 's complement of an -digit number is . It equals the 's complement, , plus 1. For : , or and then .

WATCH OUT FOR

Stopping at the 9's complement (52, option A) and forgetting to add 1 is the usual slip. A second one is using the wrong power of the base, for example . With digits the power must be .

From the GATE 2026 EC paper. Every question of this paper · Download the full paper · All 5 Number systems questions, with notes

More Number systems questions