Question
1. Language that will be used and implementation plan (i.e. Java, C#, Python, C++ using the student linked list class developed in COP 3530, or
1. Language that will be used and implementation plan (i.e. Java, C#, Python, C++ using the student linked list class developed in COP 3530, or using standard library, both algorithms implemented in one executable or separate executable files, etc.) 2. Partial Gantt chart for FCFS, AT LEAST 300 TIME UNITS 3. PROGRAM FLOW LOGIC FOR FCFS to demonstrate that the learner understands the algorithm 4. Partial Gantt chart for MLFQ, AT LEAST 300 TIME UNITS 5. PROGRAM FLOW LOGIC FOR MLFQ to demonstrate that the learner understands the algorithm 6. Early version of code to indicate the learner is starting the project. The code should reflect the project. It is ok to submit early version of only one of the algorithms. The code should include the initialization of the process data for spring 2018 Requirements All assignments must be submitted in a PDF format Save the file as LastName_MODULE6_CPU.pdf One assignment per student Algorithms and data : 1. FCFS non preemptive (partial results provided) 2. MLFQ (partial results provided) Multilevel Feedback Queue (preemptive absolute priority in higher queues) Queue 1 uses RR scheduling with Tq = 6 Queue 2 uses RR scheduling with Tq = 12 Queue 3 uses FCFS All processes enter first queue 1. If time quantum (Tq) expires before CPU burst is complete, the process is downgraded to next lower priority queue. Processes are not downgraded when preempted by a higher queue level process. Once a process has been downgraded, it will not be upgraded. Assumptions: 1. All processes are activated at time 0 2. Assume that no process waits on I/O devices. 3. After completing an I/O event, a process is transferred to the ready queue. 4. Waiting time is accumulated while a process waits in the ready queue. Process Data: process goes {CPU burst, I/O time, CPU burst, I/O time, CPU burst, I/O time,.., last CPU burst} P1 { 6, 17, 8, 19, 12, 31, 11, 18, 9, 22, 8, 26, 10 } P2 { 19, 38, 11, 24, 15, 21, 12, 27, 12, 34, 11, 34, 9, 29, 9, 31, 7} P3 { 3, 37, 14, 41, 8, 30, 4, 19, 7, 33, 5, 18, 4, 26, 5, 31, 16} P4 { 15, 35, 14, 41, 16, 45, 18, 51, 14, 61, 13, 54, 16, 61, 15} P5 { 9, 24, 7, 21, 15, 31, 6, 26, 7, 31, 3, 18, 6, 21, 6, 33, 3} P6 { 4, 38, 3, 41, 5, 29, 4, 26, 7, 32, 4, 22, 3, 26, 5, 22, 8} P7 { 14, 36, 17, 31, 16, 32, 15, 41, 14, 42, 17, 39, 16, 33, 15} P8 { 5, 14, 4, 33, 6, 31, 4, 31, 6, 27, 5, 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started