1.3 Data Storage Flashcards
To learn about data storage
How is data stored on a computer?
All data stored on a computer is stored in Binary (1’s and 0’s)
Why don’t we type in Binary
Because it would take too long, so the computer translates the binary into ‘human languages’
What is ASCII?
A table of commonly agreed translations for all computers to exchange/record characters with. ASCII is an 8-bit language, meaning that there are only 256 possible characters, which for multiple languages is not enough for multiple languages and is therefore no longer used commonly.
What is Unicode?
A table of commonly agreed translations for all computers to exchange / record characters with. Unicode is 16-bit and therefore has 65,536 characters.
How could you represent a basic black and white image?
With 1 being white and 0 being black. A 6 X 3 image could be stored like this 000011 100001 110000
⬛⬛⬛⬛⬜⬜
⬜⬛⬛⬛⬛⬜
⬜⬜⬛⬛⬛⬛
What is metadata?
Dimensions of an image for example, what font a text is in, or bits per character.
What does a file extension do?
such as .jpg .png .docx
it tells the computer the rules of this price of data, such as font, text size, format, what software to open it with.
What is RGB ?
Varying amounts of red, green and blue make any colour.
What are colour values?
Each colour usually has 255 values (8-bits). If we have red green and blue, we have 16 milion different colour combinations (24-bits).
What is the ‘sample rate’?
How many times per second the analogue sound signal is measured.
What is the ‘sample resolution’?
How many bits per time frame are used to record the analogue audio. For example, 8-bit, 128-bit. The measure of accuracy is how many unique values of amplitude we can store, what delines this is the number of bits used.
How can data be compressed?
- Bit structure manipulated
- Analogue signals measured less often
- Pictures with areas of the same or similar colours are counted as the same (depending on algorithm used)
- Words that are repeated in a document are deleted and their positions recorded
What is ‘Lossy’ data compression?
Redundant or unnecessary data is removed eg. in patterns where things are repeated.
What is ‘Lossless’ data compression?
No data is lost, a shortened version of the data is recorded and then reconstructed when needed.
What is ‘sample rate’? (sound)
How many times per second an analogue signal is measured