Lecture 1 Flashcards

1
Q

What are the main parts of a computer

A

CPU, RAM, I/O devices

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

What is instruction-level parallelism?

A

When instructions in a sequence are independent and can be executed in parallel by overlapping.

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

What is a dependency?

A

Where one instruction is dependent on another to be able to place.

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

Give an anology to cooking for process

A

Cooking a recipe

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

What does a scheduler choose?

A

The next running process.

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

What is something that is ready and waiting to be executed called.

A

‘ready state’

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

What ‘switch’ could contribute to deadlock?

A

Process switch

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

What device would you use for scheduling across multiple cores?

A

A central scheduler.

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

What would a central scheduler be aware of?

A

All CPUs across the system.

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

Name another configuration, other than a central schduler, for dealing with scheduling across cores?

A

Distributed CPUs aware of each other.

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

What would distributed CPUs have to do in a bid to prevent deadlock or scheduling issues?

A

Send signals to each other.

Pass work to each other based on resource.

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

What would distributed CPUs have to do in a bid to prevent deadlock or scheduling issues?

A

Send signals to each other.

Pass work to each other based on resource.

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

What is a register?

A

CPU internal storage

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

What is the PC

A

Program Counter

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

What does the program counter do?

A

Provides the address of the next instruction

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

What is IR?

A

Instruction register

17
Q

What does the instruction register do?

A

Contains the 8-bit op code of the instruction being executed.

18
Q

What is an MBR?

A

Memory Buffer Register

19
Q

What does the memory buffer register do?

A

Either:
The word to be strored in memory.
Or:
A register that receives a word into it from memory.

20
Q

What is an MAR?

A

Memory Address Register

21
Q

What does the memory address register do?

A

Specifies the adress in memory of the word to be written from or read into the MBR.

22
Q

What does the memory address register do?

A

Specifies the adress in memory of the word to be written from or read into the MBR.

23
Q

What do interrupts allow for?

A

Allows CPU to continue with processes while something else goes on (printing / writing to a disk)

24
Q

Is the overhead of an interrupt worth the gain?

A

Yes