week 11 lecture Flashcards
what is a program
executable code, or source code
what is a process
Running Program
what is a foreground process
interacts with user
what is a background process
runs to completion and reports results (to file or window)
what does a process consist of
-Set of executable instructions
-Region of memory
-Operating System resources
-Security attributes
-Processor State
what is a process id
When a process runs, Linux keeps track of it through a process ID (PID)
how can a process be created
Process can only be created by another process
Parent Process creates (spawns) one or more child processes
what does the processor perform
fetch-execute cycle
what does the cpu consist of
-Control Unit
-Arithmetic Logic Unit (ALU)
what is a process state?
As a process executes, state of the process changes
what is process management
Scheduling of processes is known as process management
what is a batch?
sequence of processes
what is multi-programming
When a process is performing time-consuming I/O, process is removed from CPU and replaced with a different process.
what is a context switch
Switching of processes on the CPU