Memory Flashcards Preview

Computer Organisation > Memory > Flashcards

Flashcards in Memory Deck (17)
Loading flashcards...
1
Q

What is MAR ?

A

Memory Address Register

2
Q

What is MDR ?

A

Memory Data Register

3
Q

If MAR is k bits long, how many memory locations can be addressed ?

A

2^k memory locations can be addressed

4
Q

What is one way to reduce the memory access time ?

A

Use Cache

5
Q

What is Cache ?

A

It is a small, fast memory

6
Q

Where is it located ?

A

In between the slower, larger main memory and processor

7
Q

What is the principle of locality ?

A

Related memory locations are frequently accessed

8
Q

What is temporal locality ?

A

Locality in time

9
Q

What does temporal locality mean with respect to referenced data ?

A

It will tend to be referenced again soon

10
Q

What is spacial locality ?

A

Locality in space

11
Q

What does spatial locality mean with respect to referenced data ?

A

Data locations with nearby addresses will be referenced

12
Q

What is memory hierarchy ?

A

A structure that uses multiple levels of memories

13
Q

How does size of memory change with respect to distance from the processor ?

A

Size increases as distance from processor increases

14
Q

How does access time of memory change with respect to distance from the processor ?

A

Access time increases with increase in distance from processor

15
Q

What data structure is a write buffer ?

A

It is a queue

16
Q

What does a write buffer do ?

A

Holds data

17
Q

When is a write buffer used ?

A

When data is waiting to be written into memory