1.2.1 primary storage (memory) Flashcards

1
Q

why do we need primary storage?

A

primary storage is needed to hold the data and instructions required by the CPU while the computer is running. the CPU can access data quicker from primary storage than from secondary storage

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

what does primary storage consist of?

A

primary storage consists of:
RAM (random access memory)
ROM (read only memory)

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

RAM characteristics

A

volatile (contents lost when the power is turned off
read and write
temporary memory
holds the operating system, data and programs while the computer is running
larger than ROM
can be increased
closer to the processor, therefore faster read/write access

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

ROM characteristics

A

non-volatile (contents remain when the power is turned off)
read only
cannot be increased
bootstrap (holds computers first instructions)
BIOS (basic input/output system)
firmware
smaller than RAM

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

what is virtual memory?

A

virtual memory is needed to store data when there isn’t enough RAM to store open programs
located on the hard disk (so its secondary)
temporary sotrage - its volatile

Swapping between RAM and virtual memory occurs when programs are not being executed
programs are transferred back in to RAM when needed

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

problems with virtual memory

A

Slows down the machine because its constantly swapping between programs
constant swapping can cause something called disk thrashing

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