P2L1 Flashcards
1
Q
Process is
A
instance of an executing program (aka job or task)
2
Q
Process execution state stored in
A
program counter and stack
3
Q
Temporary holding area for process data
A
registers
4
Q
Application is
A
static entity. program on disk
5
Q
Process is
A
an active entity. state of program when running
6
Q
Stack is
A
LIFO queue. grows and shrinks
7
Q
Heap
A
dynamically created during execution
8
Q
Address space
A
“in memory” representation of a process
9
Q
Page tables are
A
mapping of virtual to physical address space
10
Q
Process Control Block
A
Process State Program Counter Registers Signal Mask Priority
11
Q
Context Switch
A
Swapping between processes
12
Q
Context switch direct costs
A
number of cycles for loading: 2 store instructions
13
Q
Context switch indirect costs
A
Cold cache or cache misses
14
Q
a new process is
A
admitted
15
Q
process states
A
new ready running waiting terminated