Bits and Bytes

At the smallest scale in the computer, information is stored as bits and bytes. In this section, we'll look at how that works.

Bit

Everything in a computer is 0's and 1's ... what does that mean? The bit stores just a 0 or 1 .. it's the smallest building block of storage.

Byte

How much exactly can one byte hold?

Number of bits Distinct Patterns
1 0 1
2 00 01 10 11
3 000 001 010 011
100 101 110 111
Number of bits Distinct Patterns
1 0 1
2 00 01 10 11
3 000 001 010 011
100 101 110 111

One Byte - 256 Patterns