Section Seven: Data Representation Flashcards
Overflow
When you get a result that requires more bits than the CPU is expecting during binary arithmetic
Bits overflowing can lead to loss of accuracy/data
Binary Shift
Moves every bit in a binary number left or right a certain number of places
Left muLtipLy
RIght dIvIde
Why programmers prefer to use hex
Easier to remember large numbers
Less chance of input errors
Easier to convert to binary
Character set
Collections of characters that a computer recognises from their binary representation
Colour depth
Number of bits used for each pixel
Resolution
Density of pixels in an image
Metadata
The information stored in an image file which helps the computer recreate the image on screen from the binary data in each pixel.
E.g. File’s format, height, width, colour depth, resolution
Sampling intervals
The gaps between each of the points where the analogue recording is sampled
Sampling frequency
The amount of samples taken per second (KHz)
Bit rate + equation
The number of bits used per second of audio
Bit rate = sampling frequency x sample size
Data compression
Making file size smaller while trying to make the file size as true to the original as possible
Lossy Compression
Permanently removes data from the file
Limits the number of bits the file needs
Lossless Compression
Temporarily removes data to store the file then restoring it to its original state when its opened