CS Last Unit 1 Test Flashcards

1
Q

Why is it necessary to reduce (compress) the size of a file?

A
  1. To save storage space on devices (ex. hard disc drive)
  2. to reduce time taken to stream music or video
  3. to reduce the time taken to upload, download, or transfer files
  4. reduced file size also reduces costs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How is file compression enabled?

A

File compression is enabled through a file or data compression software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

File compression can either be____ or ____

A

File compression can either be lossless or lossy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

With lossless file compression..

A

with lossless file compression, all the data bits from the original file are reconstructed when the file is compressed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

when is lossless file compression important

A

lossless is important for files where loss of any data would be disastrous (like a spreadsheet)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what are the features of lossless compression?

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

With lossy file compression..

A

with lossy file compression, the file compression algorithm eliminates unnessacary bits of data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

bad sides of lossy file compression

A

with lossy file compression it is impossible to get the original file back once it has been compressed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

features of lossy compression

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

MIDI stands for

A

musical instrument digital interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

midi files….?

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What technology does Mp3 use?

A

It uses a technology known as audio compression to convert music and sounds into the mp3 file format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

drawbacks of Mp3

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what file compression does mp3 use?

A

lossy format (because part of the original is lost)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what technique does mp3 use?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

differences between mp3 and MIDI

A
  • mp3 is a digital recording of a sound
    -mp3 is produced by recording software
  • mp3 is a compressed file format
  • MIDI is instructions on how to make sound
  • MIDI isn’t audio
  • MIDI is produced by a synthesizer
17
Q

facts about mp4

A
  • it allows the storage of multimedia files and not just sound
18
Q

what can mp4 also be called

A

MPEG-4

19
Q

what happens when a photographic files goes under file compression

A

the size of the file;e is reduced, the reduced file size means reduced quality of image

20
Q

what are the highest image qualities?

A

TIFF and BMP but unlike jpeg they aren’t in compressed format

21
Q

JPEG is..

A
  • lossy file compression
  • reduces photographic image file sizes
  • relies on properties of the human eye
  • can produce 40 million colors
  • images can be split into 8x 8 pixel blocks
22
Q

what does RLE stand for

A

Run-length encoding

23
Q

RLE is…

A
  • a form of lossless file compression
  • reduces the size of a string of adjacent, identical data
  • a repeating string is encoded into 2 values
  • RLE is only effective where there is a long run of repeated units/bits
24
Q

what colors are each color made up of?

A

red, green, and blue (together main black)