Data Representation Flashcards
How do you convert Digital Signals to Analogue signals?
A device called a digital to analogue converter (DAC) is used - it reads a bit pattern representing an digital signal and outputs an analogue, electrical current
How do you convert Analogue Signals to Digital Signals?
1) A sensor such as a microphone outputs an analogue signal
2) Computer uses an Analogue to Digital Convertor
3) ADC takes samples of the analogue signal at regular intervals
4) The amplitude of each sample is approximated to an integer value
5) Each sample is assigned a binary value - so it can be stored digitally
How do you calculate the size of a sound file?
Size (Bits) = Sample Rate x Sample Resolution x Length of Sample
What is the range that humans can hear at?
Between 20Hz and 20,000Hz
What is Nyquist Theorem?
To produce an accurate recording, the sampling rate must be at least double that of the highest frequency in the original signal
What is MIDI?
Electronically generated sounds that mimic musical instruments
What are the advantages of MIDI?
MIDI allows easy manipulation of music without a loss in quality
MIDI are smaller in size and are lossless - so no information is lost when using MIDI
What are the disadvantages of MIDI?
Can’t be used for storing speech
Can result in less realistic sounds
What is colour depth?
The number of bits assigned to a pixel in an image - if one bit, then 2^1 colours are available, if 2 then 2^2 bits, etc
Give some examples of metadata
Metadata is extrainformation - e.g. Width, Height, Date Created
What are vector graphics?
Vector Graphics represent images using geometric objects and shapes
Vector Graphics vs Bitmapped Graphics?
1) Vector Graphics can be scaled without losing quality, whereas bitmap will lose quality
2) Vector graphics are suited to simpler images, bitmap to more complex - such as photographs
3) Vector Graphics use less storage space than bitmapped, as they only store information about the shape instead of each pixel
What is Lossy Compression?
The process of reducing a file size, by deleting information within the file - this could be lowering image resolution (deleting certain pixels)
This can’t be undone
What is Lossless Compression?
The process of reducing a file size without deleting any information, this reduces a file size without lowering qualitty
What is Run Length Encoding?
A type of lossless compression
Reduces the size of a file by removing repeated information and replacing it with a singoe occurance, followed by the number of times it is repeated
e.g. In a bitmap, a line of pixels could be
1 White 5 Yellow 1 white