Operating systems Flashcards

1
Q

Internal Fragmentation

A

Little time slots remaining when you insert process into time slot, SOLUTION to it is Compaction(but it’s unfeasable since it takes a while)

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

Remember SJF

A

if time remaining == burst time of new process, keep current process

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

Remember Round Robin

A

It gets added onto the end, remember that if only one process remains keep adding lines to gnatt chart since it’s still preempted

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

Turnaround Time and Waiting time

A

TA = CT - AT
Waiting = TA - BT

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

Multilevel queue

A

classifies processes and gives priorities based on tht (ex: foreground > background priority), Partitions into a number of ready queues, Processes permanently assigned to one queue.

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

Multillevel feedback queues

A

Processes can move between queues(unlike multilevel queues) Separates processes according to their CPU bursts too much CPU time for a process should move it to a lower priority queue

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

Starvation

A

indefinite b locking of process, applies to priority.

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

Remember Context switching

A

Takes time too

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

Multiprocessor

A

Share load of procsses,

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

Symmetric Multiprocessing

A

each processor is self scheduling, can have common ready queue for processors or multiple ready queues for each processor.
Problems: must ensure processors dont choose same processses, and that they aren’t lost from the queue.

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

asymmetric multiprocessing

A

one processor handles all scheduling decisions, I/O processing and other activities, while other processors handle only user code.

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

Processors & registers

A

contain registers, have access to main memory on-line memory, RAM. CPU registers use clock cycles, main memory depends on rate of memory bus.

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

Cache

A

Fast memory buffer, recently used data, checked there first, if not brought in from main.

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

Important process

A

Hard Disk -> Main Memory -> Cache -> CPU registers

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

Fixed-Size partitioning

A

allocating memory in multiprogramming system in fixed sized units. Only one process per partition. fixed upper bound

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

Variable partitions & holes & table

A

There’s table with available places in memory, holes are empty blocks, added to memory via input queue, takes into accoutn size to place processes into memory holes.

17
Q
A