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?
- A.11101110Correct answer
- B.11101101
- C.00010010
- 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
- Which component of the CPU performs arithmetic calculations and logical comparisons?
- Which statement correctly describes cache memory?
- Which type of memory retains its contents even when the computer is switched off and commonly stores firmware?
- Which of the following is a primary function of an operating system?
Practise more Computer Science
Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.
Start practising freeFree to start · No credit card needed