faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
faq [2021/03/17 14:26] – jxu | faq [2021/03/18 22:59] – jxu | ||
---|---|---|---|
Line 198: | Line 198: | ||
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. | ||
- | **Once you have got the code for the very basic and simple Java program described above working, then try to gradually add additional features, in order of difficulty**, to the code. For example: | + | //**Once you have got the code for the very basic and simple Java program described above working, then try to gradually add additional features, in order of difficulty, to the code**//. For example: |
- First try to allow processes to have // | - First try to allow processes to have // | ||
- Then try using //**C2. Nonpreemptive Shortest-Job-First (SJF) Scheduling**// | - Then try using //**C2. Nonpreemptive Shortest-Job-First (SJF) Scheduling**// | ||
Line 204: | Line 204: | ||
- Then try using some of the // | - Then try using some of the // | ||
- Then try to allow each process to make //**one single request to perform I/O**// for some I/O Time on one single I/O device after completing its first CPU Computation Time, while for CPU Scheduling only use one of the // | - Then try to allow each process to make //**one single request to perform I/O**// for some I/O Time on one single I/O device after completing its first CPU Computation Time, while for CPU Scheduling only use one of the // | ||
- | - Then try to allow each process to make //**one single request to perform I/O**// for some I/O Time on one single I/O device after completing its first CPU Computation Time, while for CPU Scheduling | + | - Then try to allow each process to make //**one single request to perform I/O**// for some I/O Time on one single I/O device after completing its first CPU Computation Time, while for CPU Scheduling use some of the // |
- … | - … | ||
Line 217: | Line 217: | ||
When adding each additional feature, write code which computes the Average Waiting Times and Average Turnaround Times for | When adding each additional feature, write code which computes the Average Waiting Times and Average Turnaround Times for | ||
any set of user input parameters above. | any set of user input parameters above. | ||
+ | |||
+ | **Question 21**: For assignment 2, do we implement all the different schedulers mentioned in section C of the assignment document? Or do we pick just one of them to implement? | ||
+ | |||
+ | **Answer to Question 21**: Assignment 2 requires implementing ALL the different schedulers mentioned in section C of the assignment document. |
faq.txt · Last modified: 2021/04/26 22:20 by jxu