Lecture 2 - Data Representation Flashcards
What are the two states of a transistor?
Charged and un-charged. We represent this with 0s and 1s
What is the base of the binary system?
2
What is the base of the decimal system?
10
What is meta data?
Data that explains what the data itself holds.
An image is nothing but a grid of _____.
pixels
How many bits does it take to represent one color?
8
How many colors is a pixel made up of?
3
What 3 colors is a pixel made up of?
Red Green Blue
What is Black in RGB?
RGB(0,0,0)
What is white in RGB?
RGB(255,255,255)
What is brightness?
How close to white each pixel is in the picture
What is contrast?
Distance between the whitest and blackest pixels?
How is sound represented?
As a continuous wave
How is a sound wave sampled?
It is dissected into sections and then the curve is calculated between midpoints so that the analog data is reconstructed from discrete points throughout time
What is rate in sound?
The number of samples per second
What is the resolution in sound?
The number of bits per sample
To increase the accuracy of a sound sample we must increase the amount of _______.
bits
How do you calculate the file size of a song?
(RateResolutionTime)/8 bytes
What problem does compression attempt to solve?
Representing the same information while taking up less space
What is lossless data?
All the compressed information can be 1005 recovered
What is latency?
Lag