Question 137Asked in BPSC TRE 2.0 (2023) Computer Science Class 11-12

The range of the numbers that can be represented in 8-bit using 2’s complement representation is

  1. A–128 to +128
  2. B–127 to +127
  3. C–128 to +127
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (C) –128 to +127

Explanation

With n bits, two's complement covers −2ⁿ⁻¹ to 2ⁿ⁻¹ − 1. For 8 bits that is −128 to +127.

From BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper

This is question 137 of BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.