Bitkernel · CS Fundamentals
Find minimum two’s-complement value with three ones
TrueInterview
October 7, 2026 · 1 min read
Consider an 8-bit signed integer stored in two's-complement form that has exactly three 1 bits and five 0 bits.
What is the smallest (most negative) value that can be represented under these conditions?
Options:
- A.
-127 - B.
-32 - C.
-125 - D.
-3Overview: The question tests your grasp of two's-complement encoding and bit-level reasoning, specifically how constrained bit counts affect the possible signed 8-bit integer values.
Loading comments…