operating systems

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:54 PM on 4/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

goals of an OS

resource allocator, make system easier for users to use, manage CPU time, memory space, etc

2
New cards

tasks of an OS: memory management

allocate/deallocate memory space, keep track of used memory blocks, which process is using them, decide which processes to move in/out of memory

3
New cards

shortest job first scheduling (how)

append each process with the length of the next CPU burst. Schedule jobs with the shortest time

4
New cards

pros/cons of SJF

optimal, but hard to know future CPU burst lengths

5
New cards

shared memory cons

potentially vulnerable to conflicts. race conditions may appear

6
New cards

message passing pros/cons

useful when no conflict resolution is wanted but is slower (each read/write needs kernel operations)

7
New cards

when is the message passing model NEEDED

to communicate between different systems that don’t share memory

8
New cards

message passing model

processes use a message-passing protocol to send/receive info between cooperating processes

9
New cards

shared memory model

processes agree on a region of memory to share among cooperating processes. they read/write there to exchange info

10
New cards

independent vs cooperating processes

independent - doesn’t share any data while executing. cooperating - can affect/be affected by other processes

11
New cards

zombie process

child process that has been terminated but whose parents haven’t called wait() yet. kept in the system to return status to parent eventually

12
New cards

allocating system resources to child processes

either obtain resources directly from the OS. or share a subset of resources from the parent

13
New cards

shortest remaining time

if we allow SJF to be preemptive, we can interrupt a currently running process if it would run longer than some new process

14
New cards

I/O vs CPU bound

I/O - most time spent waiting for memory
CPU - most time spent in execution

15
New cards

process states

new, running, waiting, ready, terminated

16
New cards

starvation in scheduling

low priority processes may not execute

17
New cards

layered OS kernel

highest layer is UI, lowest is hardware. layers can only call functions from the layer below

18
New cards

convoy effect

short jobs held waiting by long jobs in FCFS

19
New cards

monolithic kernel

all kernel functions are in a single static binary file that runs a single address space