Prev Next

Archive for February 2011

A Post Without Image

Process State and its Transition

The Central Processing Unit (CPU) executes a large number of programs. While its main concern is the execution of user programs, the CPU is also needed for other system activities. These activities are called processes. In general, a process will need certain resources such as the CPU time, memory, files, I/O devices and etc. to accomplish its task. As a process executes, it changes state. The state of a process is defined by its current activity. In the diagram above, each process may be

A Post Without Image

Best-Fit, First-Fit and Worst-Fit Memory Allocation Method for Fixed Partition

The following jobs are loaded into memory using fixed partition following a certain memory allocation method (best-fit, first-fit and worst-fit).                                               List of Jobs Size Turnaround Job 1 100k

A Post Without Image

Dynamic and Relocatable Dynamic Partition

The following jobs are loaded into memory using dynamic partition and relocatable dynamic  partition. Its memory size is 220k with allocated OS for 15k. These are the following list of jobs with their specific size and turnaround. Job 1          100k          3              Job 2            10k          1              Job