3.5.3.1 Units of Information: Bits and Bytes. Flashcards
Define a bit.
A fundamental unit of information that can only take two values, 1 and 0.
How are bits represented in computers?
Using high or low currents.
Define a collection of bits.
A Byte.
How are bits and bytes notated?
A bit is notated with a lowercase ‘b’ and a Byte with an uppercase ‘B’.
Outline representing values with bits.
The number of different values that can be represented with a specified number of bits varies with the number of bits. The more bits that are assigned to a number, the greater the number of values that can be represented.
More specifically there are 2n different values, represented with n bits
e.g. using just 2 bits, there are four possible permutations of the bit and hence four different values that can be represented (2^2 = 2 x 2 = 4).
If we use a Byte, how many different values can be represented?
(2^8) = (2 x 2 x 2 x 2 x 2 x 2 x 2 x 2) = 256 possible representations.