Data Representation Flashcards
Nibble
4 bits
Byte (B)
8 bits
Kilobyte (kB)
1000 bytes
Megabyte (MB)
1000 kB
Gigabyte (GB)
1000 MB
Terabyte (TB)
1000 GB
Petabyte (PB)
1000 TB
why must data be stored in binary
the computer architecture is built on electrical transistors which can alternate between two states (1/0) very fast
sound file size
sample rate x duration (s) x bit depth
image file size
colour depth x image height x image width
text file size
bits per character x number of characters
binary base
base 2
how is an analogue sounds wave converted into digital form
the sounds wave is sampled by measuring the amplitude at regular intervals. The samples are stored and the data is converted into binary.
overflow error can lead to
loss of data and accuracy
over flow error
when the total from adding binary numbers is 9 or more bits which is too big to be stored within the registers of a CPU
most significant bit
the bit with the largest value (left-most)
least significant bit
the bit with the smallest value (right-most)
left binary shift
multiplies, every shift doubles the number
right binary shift
divides, every shift halves the number of
hex base
base 16
each hex character is equal to
a nibble in binary
character set
collections of characters that a computer recognises from their binary representation
character set egs
unicode, ASCII
how many characters can ASCII represent (each character is given a 7-bit binary code)
128 different characters