File formats Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

[PPQ] How is a vector graphic represented?

A

Images are composed of a collection of geometrical objects, which have properties such as size, position, colour and shape

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

[PPQ] How does run length encoding work?

A

The number of consecutive pixels of the same colour (the run) is counted, and pairs of values are stored, which consist of the pixel’s colour and the number of times it appears consecutively

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

[PPQ] Why could RLE not compress a full colour image of a forest as well as it could compress a simple, 2-colour logo?

A

The image contains many different colours which don’t often appear multiple times consecutively, meaning the runs will be of shorter length, and the size of the run values will cancel out the reduction in size due to the compression

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

[PPQ] Why can a 14kHz sound not be represented in digital form with a sample rate of 20kHz?

A

Nyquist’s theorem states that the sample rate must be at least twice the frequency of the highest sound in the original signal, and 20kHz is less than double 14kHz

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

[PPQ] How does MIDI represent music?

A

Music is represented as a series of “event messages” which are 2-3 bytes long, which contain information such as instrument, note, duration of note, channel, etc.

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

[PPQ] What are the advantages of MIDI?

A

The song is easy to modify (it’s easy to change the pitch and duration of notes), better quality because no background sound is recorded

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

[PPQ] Explain the key difference between lossless and lossy compression methods

A

Lossless methods: No data is lost, can be reversed

Lossy methods: Some data is permanently lost and the encryption cannot be reversed

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