🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Data Representation: all 9 questions

Quiz: Data Representation · Question 1 of 9

What is the 8-bit 2's complement representation of −5?

What is the 8-bit 2's complement representation of −5?

  1. A.10000101
  2. B.11111010
  3. C.11111011
  4. D.00000101
Answer & explanation

Correct answer: 11111011

Invert 00000101 → 11111010, then add 1 → 11111011.

Can you get the rest right without peeking?

Take the timed Quiz: Data Representation quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →