Skip to content
GATEiit

GATE CSE 2019 Q14: 16-bit two's complement representation of −28

Syllabus topic: Number representation and arithmetic (fixed and floating point)

Question

In 16-bit 2's complement representation, the decimal number −28 is:

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation

Answer: C (official GATE 2019 final answer key)

Concept used: Two's complement negation: invert all bits of the positive value and add 1.

Concept notes

Loading notes…

First step: Write +28 in 16-bit binary (0000 0000 0001 1100), then invert every bit and add 1.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Number representation and arithmetic (fixed and floating point)

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key