Computer System · Class 11 · CBSE · Science Computer Science

Using 8-bit two's complement representation, what is the binary representation of -18?

Practice question from Computer System (Class 11 · CBSE · Science Computer Science), with the correct answer and a step-by-step solution.

hard · MCQ · Q-805B24

Using 8-bit two's complement representation, what is the binary representation of -18?

  1. A.11101110Correct answer
  2. B.11101101
  3. C.00010010
  4. D.10010010

Solution

The 8-bit binary representation of 18 is 00010010. Inverting its bits gives 11101101, and adding 1 gives 11101110, which represents -18 in 8-bit two's complement form.

More from Computer System

All of Computer System

Practise more Computer Science

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed