Please enable JavaScript.
Coggle requires JavaScript to display documents.
CHAPTER 2 - Coggle Diagram
CHAPTER 2
SEGMENTATION
-
-
-
-
Local variable, global variable
-
Stack, array ,symbol table
PROSES MANAGEMENT
-
-
-
-
A process also known as an instance of a program in execution. Multiple instances of the same program can execute simultaneously , for example mail program
A process require resource like CPU time, memory, files and etc
Why Process Management
-
-
-
User feels that all of them run simultaneously, however OS allocates one process at a time
-
PAGGING
-
-
Page size is generally small (perhaps 2K to 4K), and chosen with hardware efficiency in mind
-
Addresses consist of two parts , a page number in the high-order positions and a displacement in the low-order bits
-
-
-
INTERRUPTS
-
Hardware senses the signal, saves key control information for the currently executing program, and starts the operating system’s interrupt handler routine
-
Subsequently, after the interrupt is processed, the dispatcher starts an application program
Eventually, the program that was executing at the time of the interrupt resumes processing
-
-
-
-
SWAPPING TEHNIQUE
-
Swap – out operation
copying its instruction and data onto a disk. This operation frees the area of memory that was allocated to the process
-
-
-
-
-
SCHEDULING CONCEPT
-
Determining when a given process is to be run, within a multitasking environment called scheduling
CPU SCHEDULER
. None - Preemptive
-
Since only one request is under processing by the CPU at any time, it is not necessary to maintain the distinction between long, medium and short – term scheduling
Once a process is executing, it will continue to execute until it terminates
-
-
-
-
-