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 14:17] jxufaq [2021/03/17 14:19] jxu
Line 184: Line 184:
  
 Note that in this very basic and simple system: Note that in this very basic and simple system:
-  - 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; 
   - 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;
   - 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;
Line 194: Line 194:
   - the Arrival Time of each process;   - the Arrival Time of each process;
   - the CPU Computation Time for each process;   - the CPU Computation Time for each process;
 +
  
 Then try to write code which computes the Average Waiting Times and Average Turnaround Times for any set of user input parameters above. Then try to write code which computes the Average Waiting Times and Average Turnaround Times for any set of user input parameters above.
faq.txt · Last modified: 2021/04/26 22:20 by jxu