Lecture 2 Chapter 1 Flashcards

1
Q

The PC is equal to what in the fetch stage?

A

The MAR

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

The IR is equal to what in the fetch stage?

A

The MBR

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

What purpose do interrupts have?

A

To improve processor utilization

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

What register does an Interrupt change?

A

The PC value

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

If an interrupt occurs what does the CPU do?

A

Finish current instruction cycle then processes the interrupt

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

After the interrupt process has completed what does the CPU do?

A

Return to the original process

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

What are the classes of interrupts?

A

Program
Timer
I/O
Hardware failure

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

What triggers a program interrupt?

A

overflows, dividing by zero, illegal machine instructions

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

What triggers a timer interrupt

A

A timer within the processor

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

What triggers an I/O interrupt

A

And I/O controller requesting service

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

What triggers a hardware failure interrupt?

A

A critical error in the computer such as a power failure

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

What are the two ways of handling multiple interrupts?

A

Disable interrupts
Define priority

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

When using disable interrupts for multiple interrupts what happens

A

The processor will ignore any new interrupts and leave them pending until free

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

If using priority based interrupt handling what happens?

A

Interiors are assigned a priority and higher priority interrupts will be handled first

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

What are the design constraints on computer memory

A

How much
How fast
How expensive

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

How does a symmetric multiprocessor work?

A

Two or more similar processors will share the same RAM and I/O connected by a bus, operations controlled by OS

17
Q

How does a multi ore processor work

A

A multi core processor combines two or more processors on a single piece of silicon

18
Q

What are the advantages of a multi ore processor

A

Less power
Quicker communication

19
Q

What are the advantages of a symmetric multiprocessor

A

Performance
availability
Growth incrementally

20
Q

What are the disadvantages of a symmetric multiprocessor

A

Cost
Heat
Architecture can be complex