Find Jobs
Hire Freelancers

c++ hw

$30-5000 USD

Closed
Posted over 21 years ago

$30-5000 USD

Paid on delivery
Read the pages in the text on the Multilevel Feedback Queue Scheduling method , and to make sure you understand it, make certain that your calculations agree with those shown on page 405. Write a C++ program which will compile under g++ and run on the unix operating system on afs, which will read several lines from a file named processes.txt. Each line in the file contains two integers: the first integer represents the arrival time of a process and the second integer represents the service time for this process. Each line corresponds to one process, and you do not know in advance how many lines there will be in the file. At the end of the last line, there will be an end-of-file character. The program you write will calculate the Feedback schedule for q=2i for the collection of processes whose vital statistics the program read from the file processes.txt. The schedule should be written to a file called schedule.txt. The form of the schedule should be 1,1,1,2,3,2,2,4,5,3,3,4,4,5,2,2,2,3,4,4 for Feedback q=2i on page 405. If the CPU is idle for a number of unit times, you should indicate this by a sequence of contiguous commas, i.e., ,,,,,, You may assume that the lines of [login to view URL] are sorted according to arrival times. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform Everything is given in the description.
Project ID: 2885356

About the project

5 proposals
Remote project
Active 21 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
5 freelancers are bidding on average $23 USD for this job
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (60 reviews)
5.0
5.0
User Avatar
See private message.
$34 USD in 14 days
4.6 (60 reviews)
4.5
4.5
User Avatar
See private message.
$17 USD in 14 days
5.0 (27 reviews)
4.3
4.3
User Avatar
See private message.
$4.63 USD in 14 days
4.2 (111 reviews)
4.4
4.4
User Avatar
See private message.
$17 USD in 14 days
4.1 (3 reviews)
2.1
2.1

About the client

Flag of UNITED STATES
United States
5.0
1
Member since Oct 7, 2002

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.