CS Last Unit 1 Test Flashcards
Why is it necessary to reduce (compress) the size of a file?
- To save storage space on devices (ex. hard disc drive)
- to reduce time taken to stream music or video
- to reduce the time taken to upload, download, or transfer files
- reduced file size also reduces costs
How is file compression enabled?
File compression is enabled through a file or data compression software
File compression can either be____ or ____
File compression can either be lossless or lossy
With lossless file compression..
with lossless file compression, all the data bits from the original file are reconstructed when the file is compressed
when is lossless file compression important
lossless is important for files where loss of any data would be disastrous (like a spreadsheet)
what are the features of lossless compression?
- used where code must be the same as the original
- a compression algorithm is used
- no data is removed in the process
- the number of times the word appears is stored
With lossy file compression..
with lossy file compression, the file compression algorithm eliminates unnessacary bits of data
bad sides of lossy file compression
with lossy file compression it is impossible to get the original file back once it has been compressed
features of lossy compression
- makes the file smaller than lossless
- quality can be reduced but the file will still run
- redundant data can be removed
- used when no requirement for the file to be exactly the same as original
MIDI stands for
musical instrument digital interface
midi files….?
- MIDI files are not music and don’t contain sounds
- you can’t listen to it
- MIDI is a communications protocol that allows musical instruments to interact with each other
- it uses an 8-bit serial transmission
What technology does Mp3 use?
It uses a technology known as audio compression to convert music and sounds into the mp3 file format
drawbacks of Mp3
- it will reduce the size of normal music files by about 90%
- the quality of mp3 files can be different since it depends on the BIT RATE
what file compression does mp3 use?
lossy format (because part of the original is lost)
what technique does mp3 use?
a technique called PERCEPTUAL MUSIC SHARING is used to remove sounds the human ear cannot detect + when 2 sounds are played simultaneously the softer sound if removed