Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 683 Bytes

File metadata and controls

31 lines (23 loc) · 683 Bytes

Bits and bytes

Know that:

  • the bit is the fundamental unit of information
  • a byte is a group of 8 bits.

A bit is the fundamental unit of information and is represented as either a 0 or 1. A group of 8 bits is called a byte.

Values which can the be represented

Know that the 2n different values can be represented with n bits.

2n different values can be represented using n bits however the maximum value is 2n - 1.

Example

The 8 values which can be represented using 3 bits are:

Value Binary
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111