Find Jobs
Hire Freelancers

C++ & OS problem (215638)

$30-5000 USD

Closed
Posted over 19 years ago

$30-5000 USD

Paid on delivery
**Please read attached file for more description Using GUI will be great for this project. _Project Specification:_** In this project you will implement the strict, non-priority-preemptive multi-level feedback queue (MLFQ) scheduling algorithm with three queues (Q1, Q2, Q3) for a single-CPU system (see class notes). Your program (mlfq.c or [login to view URL] or [login to view URL] or [login to view URL]) should produce the response time, the turnaround time, the waiting time for each process and the overall turnaround time (makespan) for a given input. It is your responsibility to make sure that your program runs on the department’s computer system. ## Deliverables Assume the following: 1. Arriving jobs can be either batch or regular. 2. Regular processes enter in Q1, and batch processes enter in Q3. 3. I/O requests always take 5 units of time. 4. Assume no context switching overhead. 5. Process selection is strict. 6. Process selection is not priority preemptive. 7. The scheduling algorithms within the queues are as follows **Q1**: round robin with quantum 3 **Q2**: round robin with quantum 6 **Q3**: first come first served (FIFO) 8. If a process in Q1 or Q2 uses its entire quantum without finishing its CPU burst, it is put at the end of the next lower queue. 9. If the CPU burst is equal to the quantum, it does not move down, it is put at the end of its queue. [login to view URL] returning from I/O, regular processes move up one level and are placed at the end of the queue of the new level. [login to view URL] from Q1 return to Q1, and batch processes return to Q3. [login to view URL] a process blocks on I/O before its quantum has completely expired, the system immediately schedules another process. [login to view URL] program must read from a file (data?.in) and the output should be directed to a file (data?.out) where ? is a number. ## Platform C++ in Windows
Project ID: 3448669

About the project

2 proposals
Remote project
Active 19 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $128 USD for this job
User Avatar
See private message.
$127.50 USD in 5 days
5.0 (22 reviews)
4.5
4.5
User Avatar
See private message.
$127.50 USD in 5 days
5.0 (6 reviews)
3.3
3.3

About the client

Flag of UNITED STATES
San Francisco, United States
5.0
14
Member since Oct 22, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.