logo

Cambridge IGCSE Computer Science practice

What is the two's complement representation of -5 in 8 bits?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

cambridge_mcq

Style

Topic

Number systems

Exam-style question

Try this first

What is the two's complement representation of -5 in 8 bits?.

  1. A.11111011
  2. B.00000101
  3. C.11111010
  4. D.00001011

Answer and explanation

Concise answer

11111011

Why this is correct

To find -5, first represent 5 as 00000101, invert the bits to get 11111010, and then add 1 to get 11111011.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions