User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
faq [2021/03/17 03:45] jxufaq [2021/03/17 03:47] jxu
Line 186: Line 186:
  
 Note that in this very basic and simple system: Note that in this very basic and simple system:
-  - (a) There is only one single process queue – the ready queue, which is a FCFS queue;  +  -  There is only one single process queue – the ready queue, which is a FCFS queue;  
-  - (b) Whenever a process arrives, it is entered at the end of the ready queue; +  -  Whenever a process arrives, it is entered at the end of the ready queue; 
-  - (c) Whenever the CPU becomes available, the Nonpremptive FCFS CPU Scheduler always removes from the ready queue the process which is at the front of the ready queue, and allows that process to start executing on the CPU; +  -  Whenever the CPU becomes available, the Nonpremptive FCFS CPU Scheduler always removes from the ready queue the process which is at the front of the ready queue, and allows that process to start executing on the CPU; 
-  - (d) Once a process starts executing on the CPU, it is never preempted, and always executes for the full duration of its CPU Computation Time before terminating. +  -  Once a process starts executing on the CPU, it is never preempted, and always executes for the full duration of its CPU Computation Time before terminating. 
-  - (e) Whenever a process terminates, the CPU becomes available again.+  -  Whenever a process terminates, the CPU becomes available again.
    
 Write the code so that the program allows the user to enter as input parameters the following: Write the code so that the program allows the user to enter as input parameters the following:
faq.txt · Last modified: 2021/04/26 22:20 by jxu