Week 11 Flashcards

1
Q

CAM memory includes

A

latch to store one bit and a dedicated bit comparison circuit

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

CAM is organized as

A

N m-bit slots, where N and m chosen by need and cost

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

Most page table entries are _____

A

not resident

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

how do you handle a page fault for non-resident bits?

A

1) CPUT read or write at address in a non-resident page
2) MMU performs translations, finds resident bit is not set, then sends page fault signal
3) OS changes CPU mode to OS privalege level, saves information needed to restart process after fault, and calls page fault holder

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

what are the 2 types of errors on a bus?

A

Address conflict, unassigned address

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

Error when two busses attempt to respond to a given address

A

address conflict

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

Error when no device responds to a given address

A

Unassigned address

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

what is a better alternative to a bus that can connect multiple devices

A

switching fabric:
sender supplies data and destination device, while fabric delivers data to specified destination

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

Polling:

A

Waiting for certain tasks to be over before you can move on to the next one, processor “asks” if a given task is done yet

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

A better option to polling:

A

Interupt-driven: instead of having a loop that you wait in, just have device interupt processor when the task is complete

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

True / false: processor boots with interupts disabled

A

true

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