test Flashcards
What do shells do
allows user to interface with the OS
What do executables need?
OS servicces
How are executable performed ?
through system calls
What is a process ?
a program in exectuion
What is the address space of a process ?
memory locations which the process reads or writes to
PSW
Processor Status word contains control bits in CPU
Two modes of instructions
User mode = less privileged System mode = more privileged
What is an OS exception?
An abrupt change in Control flow in a response to a change in processor state
Exception: Interrupt
Signals from I/O
Exceptiom:Trap
Application request OS services
Exceptions:Faults
Recoverable error
Exception:Aborts
Not recoverable error
Kernel
Everything below the system call interface and above the physical hardware
What does the Kernel provide
- file system, -cpu scheduling
- memory management, other os functionality
What does a Kernel use?
System calls
Three catagories of system calls
1 File management, 2 Process control, 3 Information manipulation
What is a zombie
A process whose parent has excited/not waiting
What do process control blocks enable
Allows the CPU to resume the process where it left off when switching execution
What are the types of scheduling queues
job, Ready, Device
CPU scheduler vs long term scheduler
CPU is short term long term will try to balance CPU and I/O demand
What happens in context switches?
Old process state is saved new process is loaded
Process creation is based around
parent creating children