1. Home
  2. Engineering
  3. Computer Engineering
  4. What range of values can an 8-bit two's complement number…

Added 2 Nov 2026

What range of values can an 8-bit two's complement number represent?

  1. −127 to +127
  2. −256 to +255
  3. −128 to +127 Correct answer
  4. 0 to 255

Correct answer

C. −128 to +127

15 views

MCQSEXAM

Explanation

An n-bit two's complement number ranges from −2ⁿ⁻¹ to 2ⁿ⁻¹ − 1, giving −128 to +127 for 8 bits. −127 to +127 is the sign-magnitude range, which wastes a code on −0.

Reference

Asked in: GATE CS, NTS, PEC

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs