All values in a computer are represented using binary, the base-2 counting system using digits 0 and 1.
A bit is a single binary digit. A nibble is a 4-bit sequence. A byte is an 8-bit sequence.
A binary number of bits can represent numbers between and . As such, in order to represent a number using unsigned binary representation, bits are required.
Representing Negative Numbers
Negative Numbers can be represented using two’s complement, where the most significant bit represents rather than . This allows us to represent numbers between and (inclusive) with bits. Addition of numbers in two’s complement works in the same way as unsigned addition.