Test #2 Flashcards

1
Q

TurnAround

A

Complete - Arrive

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

Wait

A

TurnAround - CPU Needs

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

NTAT

A

TurnAround / CPU Needs

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

Response Time

A

Enter (input) to feedback

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

throughput

A

how many jobs over a period of time

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

CPU Scheduler

A

Allocate CPU time to different processes in a fair way based on scheduling algorithm in use

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

Short-Term Scheduler

A

selects which process from ready queue should be allocated for execution

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

Dispatcher

A

Actually performs the context switch

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

Context Switch

A

saving state of currently running process and loading the state of the next process

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

CPU Burst

A

When a process is actively using the CPU

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

I/O Burst

A

When a process is performing I/O Operations

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

Scheduling Criteria Maximize and Minimize

A

Maximize:
- CPU Utilization
- Throughput
Minimize:
- TAT
- Waiting Time
- Response Time

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

Processor Sharing

A

Round Robin as Time slice approaches zero; NOT IDEAL: too much overhead when context switching

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

Round Robin

A

FCFS with Time Slice

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

Starvation

A

starved from getting CPU

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

Priority scheduling

A

prioritizes processes based on assigned priority

17
Q

Aging

A

Increases the priority of waiting processes to prevent them from starving

18
Q

Mutex

A

When multiple processes want accesss to shared memory, you need to have Mutually Exclusive access to prevent lost updates

19
Q

Critical Section

A

Part of code dealing with the shared resource

20
Q

Race Condition

A

Who goes first when multiple processes want access to a shared resource

21
Q

Lost Update

A

Two processes make change to shared memory at the same time, one of the new values is lost

22
Q

Busy Wait Solutions

A

Semaphores

23
Q

TSL

A

Test Set Lock: Early solution to shared memory, bad because busy wait

24
Q

Semaphore

A

Abstract data type with an integer s and two operations P() and V()

25
Deadlock
During philosophers, all philosophers are waiting to take their other utensil