1.2: MEMORY AND STORAGE Flashcards

1
Q

What is RAM?

A

Random access memory; which is main memory

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

What is ROM?

A

Read only memory

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

What is the purpose of Ram?

A

Stores data and instructions for programs that are currently in use and the operating system

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

How is primary memory obtained? and why is it used?

A
  • Data and instructions are copied into main memory when they are required
  • because it would be too slow to access everything directly from the hard disk.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of ROM?

A

It stores data and instructions that are required for the BIOS and embedded systems

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

Define volatile and non-volatile

A

Volatile- loses all its data and contents when the device is switched off
Non-volatile- keeps all its data and contents even when the device is turned off

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

Can the instructions of RAM and ROM be overwritten?

A

RAM- yes, the contents of RAM can be changed at any time, simply by overwriting them with other data and/or instructions.

ROM- no, it is read-only memory, the instructions cannot be overwritten once it has been set by the manufacturer

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

3 differences between ROM and RAM

A

ROM:

  • non volatile
  • read only
  • stores data and instructions for the BIOS/embedded systems

RAM:

  • volatile
  • can be read and written to
  • stores data and instructions for programs that are currently open
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

EQ: An increase in RAM capacity can improve the speed of your computer. Explain why an increase in ROM size would not have the same effect.

A

-Rom is only required to be as large as the BIOS/ start up instructions inside it,
-therefore any additional space will make no difference.
New files cannot be written into the new space as it is read only

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

Why is primary memory effective? (3)

A
  • built inside the computer.
  • can be read from and written to extremely quickly.
  • gives processor fast access to data and instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In what way is primary memory NOT effective?

A

Primary memory is comparatively limited in size, especially when compared with secondary storage.

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

What is virtual memory?

A

A section of a computer storage drive/ hard disk which is temporarily used as RAM.

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

What does virtual memory enable to happen and why is it effective?

A
  • enables data in RAM and not currently being used to be transferred to the hard disk.
  • frees up room in RAM for other programs and data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What happens when data from the hard drive is needed again?

A

any other unused data is transferred to the hard disk before the original data is SWAPPED back to RAM.

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

why is swapping not very time efficient? + additional reason

A
  • secondary storage devices have slower access times than RAM, therefore the computer’s processing performance can be severely impaired and it will be noticeably slower
  • disk thrashing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How could you improve processing performance

A

increasing the size of the RAM, thereby reducing the need for virtual memory.

17
Q

What is cache memory?

A

-high-speed random access memory (RAM) built into processor.

18
Q

What does cache store?

A

stores frequently used data and instructions

19
Q

what is the correlation between cache and a computer’s processing speed?

A

The more cache memory a computer has, the faster it runs.

20
Q

why does cache tend to be expensive? and what assumption can you make from this?

A
  • due to high-speed performance, cache memory is more expensive to build than RAM.
  • Therefore, cache memory tends to be very small in size.
21
Q

What is Flash memory?

A

Flash memory is non-volatile memory than can be read from and written to

22
Q

Characteristics of Flash memory: what is it ideal for?

A

requires little power and contains no moving parts,

making it an ideal storage medium for many modern devices

23
Q

What can Flash memory also be used as?

A

external secondary storage, e.g) USB memory sticks and solid-state drives.

24
Q

Explain why secondary storage is needed:

A
  • long term (permanent), non-volatile storage/storing when the device is turned off
  • to store data and files
25
Why is secondary storage crucial to a device?
Without secondary storage all programs and data would be lost the moment the device is switched off.
26
Do all devices need secondary storage? Give an example. (3 points)
- No - embedded systems do not need to store data when the power is turned off. - the instructions needed to run them are stored in ROM and any user data is held in RAM
27
Additional negative of magnetic SS? and how could this affect the SS?
- They are vulnerable to magnetic fields. | - a strong magnet might possibly erase the data the device holds.
28
What do SSDs use and for what reason?
-use non-volatile random access memory (RAM) to store data indefinitely.
29
What are some major advantages of SSD? (2)
- tends to have much faster access times than other types of devices and, - because they have no moving parts, are more durable.
30
the 8 units of data storage:
``` o Bit o Nibble (4 bits) o Byte (8 bits) o Kilobyte o Megabyte o Gigabyte o Terabyte o Petabyte ```