1.2 Memory and Storage Flashcards

1
Q

What does primary storage consist of/

A

Random Access Memory (RAM)
Read Only Memory (ROM)
Registers & Cache

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

State three items that are stored in RAM

A

Programs currently in use
Data currently in use
OS currently in use

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

Purpose of primary storage

A

To hold the data and instructions which the CPU needs access to while a computer is running

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

Properties of Primary Storage

A

With exception of ROM all volatile

Relatively small storage capacity compare to secondary storage devices. E.g. RAM is typically measured in GB, while SSD are normally measured in TB.

Very fast access times compared to secondary storage

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

Properties of Secondary storage

A

All non-volatile
Much larger capacity compared to primary storage
Very slow access times compared to primary storage

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

Define access speeds

A

how quickly can we read from and write to a device

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

Given that RAM is volatile and has a relatively small capacity, whereas secondary storage is non-volatile and has a much larger capacity, then “What is the point in primary storage at all?”

WHAT IS THE NEED FOR PRIMARY STORAGE

A

Access times for primary storage is much faster than secondary storage

This speed of access is the main need for primary storage

The CPU can much more quickly access data from primary storage than secondary storage

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

Different types of storage

A

Primary storage
Secondary storage

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

Describe the purpose of ROM

A

Store BIOS (Basic Input Output System) -the boot up instructions

Stores data that should not be changed

Stores data that must be retained when the computer turns off

Stores firmware/OS fundamentals

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

What is rom

A

Small piece of read only memory located on the motherboard

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

what is rom

A

Software stored on the ROM

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

Characteristics of ROM

A

Non-volatile

Programs may be stored in ROM in embedded systems

Small in comparison to RAM

Read only

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

What is RAM

A

RAM is temporary storage of instructions and data

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

Key characteristics of RAM

A

Holds the operating system, programs and data in use by the CPU when the computer is running

Volatile

It is readable and writeable

Much faster than the hard disk

Large in comparison to ROM

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

Why is it important for ROM to be non-volatile

A

Store BIOS (Basic Input Output System) -the boot up instructions

Stores data that must be retained when the computer turns off

If rom was volatile (and contents were lost when the power was turned off), then the computer will not know how to start up.

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

Define volatile

A

Volatile - When contents are lost when the power is turned off

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

Define non-volatile

A

Non volatile (contents remains when power

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

Explain how virtual memory can compensate for the lack of RAM in a computer

A

VM is used when RAM is full

Part of the secondary storage used as (temporary) RAM

Data from RAM is moved to the
secondary storage/VM (to make space in RAM)

RAM can then be filled with new data

When data in VM is needed it is moved back to RAM

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

Explain why it is beneficial to get more RAM instead of relying on virtual memory

A

More RAM will improve the
performance of the computer
(//More RAM will speed up the access to data)

Excessive use can cause disk
thrashing which decreases performance

VM is slower to access than RAM directly (because it has to go back to RAM first)

Moving data between RAM and VM takes processor time

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

Why might virtual memory be needed in a system

A

Virtual memory is needed when there is not enough physical RAM to store the open programs

21
Q

What happens to programs to programs when they are not currently being executed and what happens to programs when they are needed - regarding virtual memory

A

Programs are transferred out to virtual memory from the RAM, when they are not currently being executed.

Programs are transferred back to the RAM from virtual memory when they are needed

22
Q

Where is virtual memory held

A

It is held on the hard disk (a location on secondary storage)

23
Q

Why computers have secondary storage

A

Secondary storage is needed because ROM is read-only and RAM is volatile

24
Q

What is secondary storage needed for

A

Storage of programs and data when the power is turned off

Semi-permanent storage of data that can change

Backup of data files

Archive of data files

25
Q

a. What does solid state media mean?

A

Storage media with no moving parts

Device that uses flash memory

26
Q

State some types of programs that are held on secondary storage media

A

The operating system
Programs and data are held here when not in use

27
Q

Three common types of secondary storage

A

Optical
Magnetic
Solid state

28
Q

Define a ‘drive’

A

The device that reads and writes data from secondary storage

29
Q

Define ‘media’

A

What the data is actually stored on (is referred to as the media)

30
Q

Types of optical media/storage devices

A

CD - Compact disc

Compact disc read-only (or CD-R)
Compact disk read-write (or CD-RW)
Digital Versatile disc read-only (or DVD-R)
Digital Versatile disc read-write (or DVD-RW)
Blu-ray

31
Q

On average how much data can CDs, DVDs and Blu-Ray discs hold

A

CD - 700 MB
DVD - 4.7 GB
Blu-Ray 25GB

32
Q

a. Which type of secondary storage is most suitable for distributing a movie?

A

Optical

33
Q

b. What is the most suitable storage device for distributing a movie?

A

DVD/Blu Ray

34
Q

c. What is the most suitable secondary storage device for distributing music tracks?

A

CD

35
Q

Positives of optical storage media

A

Portable
Cheap (byte for byte) compared to other types of storage
Light weight, thin

36
Q

Negatives of Optical storage media:

A

Slow access times (slow read/write speeds)

Prone to scratches. (These scratches could result in the optical media not functioning properly)

Low capacity compared to other types of storage

37
Q

d. What are reasons you chose the device (cd) you did for distributing music tracks?

A
  • Cheap to produce.
  • Easily portable.
  • Enough capacity for the music tracks.
  • Can be read by other devices.
  • Read only/can’t be over written.
38
Q

Types of magnetic storage media

A

Hard disk drive
Magnetic tape

39
Q

State the disadvantages for using magnetic tape to store data

A
  • Slow to write to and read from memory.
  • All data has to be read before reading the data you want.
  • Data could be corrupted if close enough to a magnetic field.
  • Additional equipment needed to read data from tape.

Fragile (disadvantage in general)

40
Q

Positive of magnetic storage media

A

Cheap (BYTE FOR BYTE)
Large capacity

41
Q

Adv. of magnetic

A

Hight storage capacity

Quick to access data
Cheaper (byte for byte) than SSD
Hard disks perform better if they are defragmented

42
Q

Disadv. of magnetic

A

Has moving parts, which eventually fail

43
Q

Solid state advantages

A

No moving parts, very reliable
Very quick to access data
Medium storage capacity
No noise
Low power
No need to defragment
Portable/robust

44
Q

Solid state disadv.

A

Limited number of read/write cycles

Expensive (byte for byte) compared to other types of storage

  • Can get lost easily. (memory stick)
  • The metal part that is inserted into the USB port can become bent or damaged
45
Q

Types of solid state storage media

A

SSD, Memory sticks, Flash memory cards

46
Q

Fastest to slowest in terms of average read/write speed

A

Slowest
Optical disc
Memory card
Magnetic tape
HDD
SSD
Fastest

47
Q

Cheapest to Priciest in terms of average cost (per GB - BYTE FOR BYTE)

A

Cheapest
Magnetic tape
Optical disc
HDD
Memory card
SSD

48
Q

Lowest to highest in terms of average capacity

A

Lowest
Optical disc
Memory card
SSD
HDD
Magnetic tape

49
Q
A