3.1.2 Secondary Storage Flashcards

1
Q

4 features of secondary storage

A

Secondary storage stores data that has to be loaded into RAM before the CPU can access it.
It is always non-volatile.
It typically has a very high capacity compared to memory / RAM, i.e. it can store a lot of data.
Whereas primary storage is integrated into the circuitry of a motherboard, secondary storage is separate from the motherboard.

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

secondary storage

A

non volatile long term persistent storage for programs and data

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

why do we need secondary storage

A

Computers use primary memory such as random access memory (RAM) and cache to hold data that is being processed. However, this type of memory is volatile, which means it loses its contents when the computer is switched off. General purpose computers, such as personal computers and tablets, need to be able to store programs and data for later use.
SS is non-volatile and can store programs and data when the power is switched off.

ROM is not volatile, but it is read-only, and we often want to change or add to our stored data.
SS allows read and write access, so we can edit and add to our files.

Both RAM and ROM are expensive per GB and it would be too expensive for them to store all of a modern user’s files.
Some forms of secondary storage are relatively cheap per GB so they come in much larger sizes than (say) RAM (e.g. 1 TB HDD v 8 GB RAM). Secondary storage typically has much greater capacity than primary storage.

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

without SS…

A

Software would need to be installed each time we use it.
You couldn’t save any files, data, images, videos etc.
You could not back up your user settings (e.g. favourites, your application data).

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

do all computers need SS

A

no!
Many embedded systems, for example, have no need to store data in secondary storage. Their instructions can be stored on a ROM chip, and there may be no need to record long-term any data once the device is in use (e.g. a computer controlling a dishwasher).

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

3 main types of SS and egs

A

Magnetic storage, e.g. a hard disk drive OR tape drive.
- stores data through the polarity / state of the magnetic layer on a disk

Optical storage, e.g. a CD or DVD drive, blu-ray
- stores data by examining how the surface of a disc affects the light emitted by a laser

Solid state, e.g. a solid state drive or USB memory stick.
- stores data as electric charges

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

how does an HDD work (magnetic storage)? (what is a platter!!)

A

Read/Write heads on a moveable arm, for each disk, which move to particular tracks/sectors on the disk.
Multiple magnetised disks. These spin up to 250 times per second (over 100 km per hour!).
A HDD may have one or more platters.
The platter is a metal disk with a thin magnetic coating on each side.
Data is stored in many tiny dots on the coating.
The magnetic state / polarity of the coating can be changed to represent a 0 or 1.
The magnetic state / polarity can be read / changed by the read/write head that moves over the spinning disk.

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

difference between disk and disc

A

For magnetic storage (e.g. HDD):
disk

For optical storage (e.g. CD, CD-ROM, Blu-Ray, DVD):
disc
(Cd)

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

defragmenting HDDs

A

takes the fragmented files and rearranges the segments so that they run contiguously
A fragmented HDD is a slow HDD because the ‘drive heads’ (like the arm on an old record player) has to move to different parts of the disk to read a single file that has been broken into chunks. If a file is split into several places, then this will have an impact on the computer’s performance.

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

key features of magnetic storage

A

High storage capacity. 8 TiB HDD can be bought in 2023. Magnetic tapes are still sometimes used to back-up an organisation’s data.
Cheap per GB compared to the more expensive SSDs.
Reliable – the data does not degrade for a long time.
Has moving parts, so:
So not as portable as SSD (e.g. more likely to be affected by being dropped etc.).
Can consume more power than SSD.
Fragmentation reduces performance, unlike with a SSD.

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

how do optical discs work

A

An optical disc has several layers. There is always a thin aluminium reflective layeron the disc’s surface.

Each disc has a continuous track of data arranged in a spiral, rather than a series of concentric tracks, like on a hard disk.

Data is stored in the form ofpits (troughs)andlands (peaks)in the structure of the disc.

To read data, a laser is shone onto the surface of the disc. The pits and lands reflect light differently. The optical drive interprets the changes in reflected light as 1s and 0s.

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

are optical discs read-only

A

Some discs are read-only, but, if the disc allows writing, the laser burns new troughs into the reflective surface of the disc. The laser is set to a higher intensity than it is while reading data.

RW discs use a chemical dye that allows the burning process to be reversed, allowing you to rewrite the data on a disc.

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

3 different forms of optical discs

A

ROM discs areread-onlyversions and were primarily used to distribute data such as movies, music, and software.

R stands forrecordable. These discs can be written to once and then only read from that point on. They were typically used to archive data.

RW meansrewritable. These discs can be written and read many times.

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

key features of optical storage

A

Low storage capacity compared to other types …
… but still cheap per gigabyte.
Slow to access data.
Slow read / write speed
Has moving parts, which eventually fail. Easily damaged when dropped.
Thin, lightweight, portable (but a little fragile – easily scratched).
Good for long-term storage (e.g. archiving) as the data on the disc does not degrade quickly.

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

when HDDs are read…

A

The arm moves across to be above the right track.
The required sector comes around under the head.
The magnetised surface induces a tiny current in the head.
The disk controller translates this into 1s and 0s.

Steps 1 and 2 involve physical movement, which takes time. Data, therefore, does not come from the disk immediately.

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

when optical discs are read…

A

The disc spins.
The tracking mechanism moves the laser into the correct position over the disc.
The laser shines on to the disc and is reflected back on to a light sensor. When the laser shines on the disc surface, lands reflect the light back, whereas pits scatter the laser beam.
Signals from the sensor are translated into 1s and 0s. Reflected light (lands) represents a binary ‘1’, and no reflection (pits) represents a binary ‘0’.

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

solid state drive

A

non-volatile rewritable computer storage.
But, unlike other secondary storage (e.g. disk drives), it has no moving parts. This means that it can access any data stored much faster than other types of storage.
Memory sticks and solid state drives are both examples of this kind of storage. ‘Flash memory’ is also used to refer to this kind of storage.

19
Q

how does solid-state work

A

Solid-state uses semi-conductor chips: NAND flash.
These contain collections of memory circuits wired together in rows and columns to form grids.
Each cell has a control gate transistor and a floating gate transistor.
By applying voltage to the control gate transistor, electrons can be trapped by the floating gate transistor allowing the cell to store a charge.
A charged cell represents a 0, and a cell with no trapped charge represents a 1.

20
Q

key features of solid-state storage

A

Medium storage capacity compared to other types.
Very quick to access data. Their read/write speeds are significantly faster than HDDs.
No moving parts (although the transistors do not last forever) so very reliable, ultra quiet, lower power consumption and resistant to physical shock.
No need to defragment. File fragmentation is not an issue and this leads to faster load times for applications/files.
Expensive per GB.
Shorter lifetime than HDDs. There are only so many times that data can be written to each memory cell.

21
Q

SSD vs HDD: performance

A

Boot-up time (Windows 7): 22 seconds (SSD), 40 seconds (HDD)
Data read-write speed: 510-550 megabytes per second (SSD), 50-150 megabytes per second (HDD)
Excel file open speed: 4 seconds (SSD), 14 seconds (HDD)

22
Q

SSD vs HDD: power consumption and noise

A

SSDs consume far less power than traditional hard drives as they have no moving parts, which means they preserve battery life and stay cooler. They’re also super quiet, with none of the whirring and clicking you get with HDDs.

23
Q

SSD vs HDD: cost

A

SSD is significantly more expensive per gigabyte. In March 2019:
External 500GB SSD on Amazon = c.£95 (£120 in March 2018)
500GB HDD on Amazon = c.£30
SSD drives tend to have a lower maximum size than HDD drives.

24
Q

SSD vs HDD: longevity

A

Data stored on both HDDs and SSDs will gradually degrade, but data stored on a SSD will actually degrade faster. This is because data is stored as electrical charges, which leak away quickly in comparison with changes in magnetic domain polarity.

25
Q

defragmenting SSDs

A

SSDs do not benefit from defragmentation. Since SSDs have no moving parts, hence “Solid State”, there’s no seek time or rotational latency. Instead, SSDs access flash memory (NAND) at much higher speeds, typically less than 50us—that’s 50 microseconds, or compared to a typical hard drive with a 15ms average access time, about 300 times faster.
In fact, defragmenting a SSD, because it involves moving a lot of files around during the defragmentation process, will cause the SSD to degrade faster.

26
Q

is USB a storage device?

A

USB is a connection protocol, not a storage device. A USB memory stick is a solid state storage device that connects to the PC through a USB Port

27
Q
A
28
Q
A
29
Q
A
30
Q

1 = best, 3 = worst

A
31
Q
A
32
Q
A
33
Q
A
34
Q
A
35
Q
A
36
Q
A
37
Q
A
38
Q
A
39
Q
A
40
Q

A travel influencer has an up-to-date smartphone, but has completely filled up all available storage with photographs.

A

Solid-stateSSD card
Most smartphones allow the internal SSD cards to be upgraded to a larger storage size. More storage means the traveller can take more pictures.

41
Q

A college has 2,500 students and 120 staff. They all have access to file servers and their own file space to store their work. Every night, the files need to be backed up.

A

MagneticTape
In this case time to write and retrieve data is not a problem, even though tape is slow. Capacity is the main issue here and with this solution you can keep adding tapes, so capacity is almost unlimited.

42
Q

A start-up company has developed a new operating system. It has a virtual shop on an e-commerce websites. It needs a way to get its software to buyers, but doesn’t have a way to host downloads.

A

OpticalDVD
DVDs are cheap to buy and easy to write. They’re strong enough to be sent through the post. The capacity of a DVD is easily enough to hold an operating system program.

43
Q

A headteacher wants to keep copies of the top 10 movies from each year of the 1960s to watch over the school summer break.

A

MagneticHard disk.
Movies can be downloaded directly to the hard disk of a laptop or PC. The hard disk should have plenty of capacity for this purpose. Writing to the disk is not time constrained and the movies can be played back directly onto the computer screen.

44
Q

A teacher wants to take home copies of next year’s work to plan lessons over half-term. She has no network connectivity at home. She does have access to a laptop.

A

Solid-stateUSB flash drive
Work can be copied onto the USB drive while at school. Lesson resources are mostly documents or slides, so they are not very big in terms of the memory they require. Most laptops, even old ones, have USB ports into which a USB drive can be inserted. Files can then be worked on directly on the USB drive or uploaded to the hard disk of the teacher’s laptop. Files can be copied back to the USB drive when they have been updated. They can then be taken back to school.