Cyber Class 9 Number Systems

Asked by GIANSH GUPTA KHUNDKER · BIRLA BRAINIACS

What is the minimal number of bits required to uniquely represent the decimal number 255 in an unsigned binary integer format?

Answer as guest — Start Free Practice Test to earn Practice PointsHow to earn pointsAsk a question+3Answer a question+1Someone answers yours+1Your Q gets upvoted+1Pioneer bonus (first 5)+51 point = ₹1 discount on purchases, ask questions & climb the leaderboard!
Show answer and explanation

Answer: B. 8 bits

• Answer: B) 8 bits
• Explanation: The maximum value an n-bit unsigned integer can hold is \(2^n - 1\). For 8 bits, 2⁸ - 1 = 255. Therefore, exactly 8 bits are needed.

Answering after opening this box earns no Practice Points.

70%