RAM & ROM & Cache Flashcards

1
Q

what is the primary memory

A

the only storage that is accessible by the CPU

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

what does the primary memory hold

A

data and instructions that are currently running on the computer system

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

how are the data and instructions stored in the primary memory

A

as binary machine code (0s and 1s)

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

what is RAM

A

it is sometimes referred to as the primary memory when it really is only a branch of the primary memory

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

what does the RAM store

A

executing program instructions
any data that is needed

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

where are the data and instructions stored in the RAM

A

in unique memory locations

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

what do each location have

A

address and content

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

what is the content of the location

A

where the instructions and data reside

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

what is the address of the location

A

used by the CPU to find, retrieve, access the data to send it to the ALU for processing

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

is RAM volatile or non-volatile

A

volatile - whenever power is lost, the contents of the RAM are wiped

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

what is ROM

A

branch of the primary memory

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

what does ROM hold

A

data and instructions in unique memory locations

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

what does ROM store (different to RAM)

A

stores permanent instructions and data that cannot be changed
BIOS (basic input output system)
start-up instructions

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

what is cache

A

small, high-speed memory inside the CPU used to hold frequently used data from the RAM

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

what does cache allow the CPU to do

A

it allows the CPU to access the slower RAM less frequently - computer system can run faster

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

what is the difference between SRAM vs DRAM

A

SRAM: faster, expensive, doesn’t need to be constantly refreshed
DRAM: slower, cheaper, preferred for the main RAM of a computer system, needs to be constantly refreshed

17
Q

where is SRAM placed

A

small amount of SRAM is placed between the main RAM and the processor (cache)

18
Q

link definition of cache to SRAM, DRAM, knowing that SRAM is a small cache

A

cache is a smaller, faster RAM (SRAM) that temporarily stores instructions and data so that the processor doesn’t need to access the slower RAM (DRAM)

19
Q

what does the processor do when it needs to read from the main memory

A

first checks if a copy of the data exists in the cache
if it doesn’t exist, the data is first copied into the cache and then used

20
Q

why is the cache faster than RAM

A

closer to CPU than RAM with faster read/write speed

21
Q

where is L1 cache placed

A

on the microprocessor

22
Q

where is L2 cache placed

A

between primary memory and the processor