1.2: MEMORY AND STORAGE 3.0 Flashcards
explain the effects of performing a 2 place right shift on a binary number:
- divide by 4
- loss of accuracy/ precision (bits on the right are removed)
What is the purpose of data compression?
-reduces the size of a file stored on secondary storage.
Advantages of data compression: (2)
- smaller files are easier to transmit across a network as they require fewer packets to be sent.
- their reduced size means more files can be stored in the given area of storage.
What are the two types of compression?
- lossy compression
- lossless compression
What happens with lossy compression? and what does it result in?
Lossy compression standards (file formats):
- some data is removed and discarded, thereby reducing the overall amount of data and the size of the file.
- JPEG, MPEG, MP3
What happens with lossless compression?
lossless compression standards (file formats):
- files are reduced in size without the loss of data
- PDF (text documents), GIF (image file format)
Give an example of how lossy compression can affect the quality of a file:
-reduction of colour depth in a JPEG image
what does a character set (as a group) assign? and what does it enable the computer to do (2)
- group of code that assign a character to a unique bit pattern,
- which enables the computer to understand and display it
what does a character set consist of?
-all the letters, numbers and special characters that can be recognised by a computer system
2 common character sets:
- ASCII
- Unicode
what does ASCII use and what does it provide?
- 8 bits
- character set of 256 characters
what is a possible problem that might be encountered with ASCII?
-256 characters is far too small to hold every character in other languages or contain custom characters
what does Unicode use and what does it provide?
- 16 bits
- character set of 65,536 characters
what does Unicode use that makes it more efficient?
what could Unicode’s larger character set be used to represent?
- uses more bits, thereby providing a larger character set
- characters from foreign languages and custom characters
how are character sets ordered?
logically