Topic 5 - Fundamentals of Data Representation - Representing images, sound and other data Flashcards
Define Analogue and Digital data
Analogue - Data is continuous and has no limits
Digital - Data is discrete and can only take particular values
How does a digital to analogue conversion work?
It reads a bit pattern representing an analogue signal and outputs an alternating, analogue, electrical current
How does an analogue to digital conversion work?
The analogue signal is sampled at a specific frequency at regular intervals which is stored digitally as a bit pattern
What are the benefits of vector graphics over bitmap?
A vector can be scaled without losing quality and often take less storage space than bitmapped graphics
What is the sample resolution of an digitally recorded audio wave?
The number of bits allocated to each sample
What is the equation for the size of a sound sample?
duration of the sample in seconds x the sampling rate in Hertz x the sample resolution
What is Nyquist’s Theorem?
The sampling rate of a digital audio file must be at least twice the frequency of the sound to be accurately represented
How are MIDI recordings stored?
A series of event messages, each representing an event in a piece of music
What information could event messages contain?
The duration of a note
The instrument
The volume
Explain the conditions required to create a Vernam cipher
The key must only be used once and random
What is the process of encryption using a Vernam cipher?
- Align the characters of the plaintext and the key
- Convert each character to binary
- Applying a XOR operation to both bit patterns
- Converting the results back to characters