6. Memory and data storage Flashcards

1
Q

How does a midi file work?

A

Consists of list of commands that instruct a device how to produce a particular sound or musical note.
Each midi command has a particular sequence of bytes. The first byte is the status byte which tells the device which function to perform and the midi channel which is a number between 0 and 15.
Examples of commands include note on or off or key pressure.
Two additional bytes are required – the pitch byte and velocity byte (tells device how loud to play not how fast).
When the midi file is played back through a device it is played in an identical way to the original.
To play it though an instrument you need a sequencer software as the guitar won’t understand the instructions.

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

Why use a midi file?

A

Smaller size than mp3

Plays music back the same way as the original.

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

How does an mp3 file work?

A

Uses lossy compression algorithms with perceptual music shaping which remove sounds the human ear cannot hear properly to reduce file size.

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

What is the difference between mp3 and mp4?

A

mp4 allows storage of multimedia files such as music, videos and photos whereas mp3 only stores sound.

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

How can text documents be compressed?

A

Common repeated words and word sections can be put in a data dictionary and replaced by numbers.

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

What is the difference between lossy and lossless compression?

A

In lossless sections of data are reconstructed when the file is uncompressed whereas in lossy compression sections of data are deleted.

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

What are the features of RAM?

A

Volatile
Stores parts of the os currently in use
Contents can be changed

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

What type of storage do buffers commonly use?

A

RAM

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

What are the advantages of DRAM?

A

Cheaper
Consume less power
Higher storage capacity

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

What are the advantages of SRAM?

A

Doesn’t need to be constantly refreshed.

Faster

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

How does DRAM work?

A

Contains capacitors (store data) and transistors (allows computer to change value in capacitor)

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

Why does DRAM have to be refreshed?

A

The charge leaks away from the capacitors so all would be left with the value 0.

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

How does SRAM work?

A

Uses ‘flip-flops’ which hold each bit of memory.

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

What are the features of ROM?

A

Non volatile
Stores the boot code
Contents cannot be changed

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

How does a hard disk drive work?

A

Data is stored on the magnetic surfaces (usually two surfaces) of a number of disks in tracks (areas going round the disk) and sectors. The disks spin and read-write heads can access all of the surfaces on the disk.

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

What is the main disadvantage of HDDs?

A

Can be slow as many applications require the read-write heads to constantly look for the right data. This leads to problems with latency (the time taken for a block of data to rotate to the read-write head).

17
Q

What are the advantages of SSDs over HDDs?

A
SSDs have no moving parts - more reliable
Lighter
Don't have to 'get up to speed'
Use less power
Run cooler
Very thin
Faster
18
Q

What is the main disadvantage of SSDs?

A

Questionable longevity

19
Q

What is the difference between flash and EEPROM?

A

Flash uses NAND chip, EEPROM uses NOR chips.
EEPROM is more expensive.
EEPROM allows data to be read or erased one byte at a time whilst flash only allows data to be manipulated in blocks.

20
Q

How do CDs and DVDs work?

A

Use a thin layer of metal alloy or light sensitive dye to store the data in a spiral. A red laser is used to read and write the data is ‘pits’ and ‘bumps’ in the track.

21
Q

What is the difference between CDs and DVDs?

A

DVDs have a higher storage as they use dual layering. This means there are two recording layers, one above the other with a transparent spacer and thin reflector in between. A second red laser is used to read and write the second layer.
DVDs also use a smaller wavelength of light which means the ‘pits’ and ‘bumps’ are smaller so more data can be stored.

22
Q

How does a DVD-RAM disc work?

A

Uses concentric tracks
Allows read and write operations to happen simultaneously
Allow more read and write operations
Have great longevity

23
Q

What is the difference between DVD and Blu-ray?

A

Blu-ray uses a blue laser so has a greater capacity.
Uses a single layer so stops birefringence (where light is refracted into two beams causing errors)
Automatically comes with secure encryption system which helps to prevent piracy.

24
Q

Advantages of using USB flash memory

A

Small and lighweight
Can be used as a dongle (contains extra applications that must be used for software to work)
No moving parts

25
What is the main disadvantage of using flash memory?
Have to wait for message before removing as otherwise data may become corrupted.
26
How much storage does one ASCII character take up?
One byte
27
How much storage does one pixel take up?
Three bytes