All mock tests are FREE till 31 December — register to save your progress
Unit 3 · Programming Languages and Computer Graphics Paper 2 CS · June 2024 (Cancelled)

The least values of a signed and unsigned data type variables requiring 8 bits, would be...

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. -128,0

Explanation

An 8-bit signed (two's complement) value ranges from −128 to 127; unsigned from 0 to 255. The least values are −128 and 0.

More Programming Languages and Computer Graphics questions