3.3 Data Representation Flashcards
Pixel
The smallest element of a bitmap image that is only one colour.
VDU
Visual display unit.
Monitor
Computer
Resolution
The number of bits per area of an image.
Pixilation
Occurs when the image is overstretched and the image will have a blocky and blurred appearance. This arises when the image is presented as too large a size and there are not enough pixels to reproduce the details in the image at this larger size.
Bitmap size
Width in pixels X Height in pixels
Colour depth
The number of bits used to indicate the colour of a single pixel.
Bitmap file size
Width X Height X Colour depth
Metadata
Metadata is data about data.
• File type
• Data created
• Height and width
• Resolution
• Colour depth
What is sound?
Sound is analogue, this means it takes the form of a continuous wave that changes smoothly.
Amplitude
How loud the sound is
Frequency
How often the sound is measured.
Analogue
Analogue sound are pure and of perfect quality.
Sampling
To record a sound, the computer samples the sound at regular points. Then it converts the sample measurements into binary code.
Bit rate
The number of bits stored per sample.
Metadata
Information added to the sound.
• Author
• Album
• Track file
MP3 files
Form of lossy compression that removes parts of the sound that are least likely to be noticed by the human ear.
WAV files
WAV files are bigger than MP3 files because lossy compression is not applied to WAV files, this means that they are not as good for sharing as MP3s but are usually better quality.
Sampling rate/frequency
The number of samples that are taken per second measured in Hz.
Sample size
The number of bits allocated to each sample.
File size
Sampling rate X Sample resolution X length
Bit
A bit is one single binary digit.
A byte is 8 bits.
Prefixes
Kilo, 1 kB is 1,000 bytes
Mega, 1MB is 1,000 kilobytes
Giga, 1GB is 1,000 Megabytes
Tera, 1TB is 1,000 Gigabytes
Binary shifting
Left shifting by 1 = multiplication by 2
Right shifting by 1 = integer division by 2
Binary shifting in general
Left shifting by n = multiplication by 2 to the power of n.
Right shifting by n = integer division by 2 to the power of n.