Memory Flashcards

1
Q

What is MAR ?

A

Memory Address Register

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

What is MDR ?

A

Memory Data Register

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

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

A

2^k memory locations can be addressed

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

What is one way to reduce the memory access time ?

A

Use Cache

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

What is Cache ?

A

It is a small, fast memory

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

Where is it located ?

A

In between the slower, larger main memory and processor

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

What is the principle of locality ?

A

Related memory locations are frequently accessed

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

What is temporal locality ?

A

Locality in time

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

What does temporal locality mean with respect to referenced data ?

A

It will tend to be referenced again soon

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

What is spacial locality ?

A

Locality in space

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

What does spatial locality mean with respect to referenced data ?

A

Data locations with nearby addresses will be referenced

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

What is memory hierarchy ?

A

A structure that uses multiple levels of memories

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

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

A

Size increases as distance from processor increases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

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

What data structure is a write buffer ?

A

It is a queue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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