Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

Homework
This answer was rated:

Im writing a C program

Im writing a C program...

Im writing a C program about a scheduling algorithm, Ive done a big part of it but i cant get it work properly and my deadline is tomorrow.


I can send the full info and my code

Show More
Show Less
Ask Your Own Homework Question
Answered in 32 minutes by:
3/3/2013
Raj
Raj, Engineer
Category: Homework
Satisfied Customers: 1,290
Experience: 4 + Experiance in IT Industry
Verified
Hi there,

I will be helping you with the requirement.
Can you please post the files...

Thank you
Ask Your Own Homework Question
Customer reply replied 4 years ago

https://www.dropbox.com/s/hswtauypfg5dxls/r-roubin.c?m


 


https://www.dropbox.com/s/qnaz609h3uymbhq/Shelfish%20Round%20Robin.docx?m


 


can you please add comments so i can understand

How much time is left for deadline...
I am travelling at present...
Will leave you a message after reviewing your files...
Ask Your Own Homework Question
Customer reply replied 4 years ago
I need it in 5-6 hours
I am sorry 5 - 6 hrs. is to less for the code to make it executable because it will take around 5- 6 hrs to first understand what you have implemented than I will have to see for the changes required.

So I will opt out for other experts to help you within your time frame.

Have a Good Day.
Ask Your Own Homework Question
Customer reply replied 4 years ago
How long do you need to get it all done?
Customer reply replied 4 years ago
Relist: Other.
cant help within deadline
R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5,471
Experience: B.Tech
Verified
Hi,

I'd be glad to help. I could finish it and send by tomorrow. Let me know if that works for you.
Ask Your Own Homework Question
Customer reply replied 4 years ago

hi..


my deadline is tomorrow morning so it has to be ready by 7AM or 8AM maximum thats seven hours can you do it? I did most of it but I cant get it to work as I dont know how to deal with pointers that well.


thanks

Which time zone are you in?
I'll go through your code. I think I might have to start from scratch, by the first look of it.
Ask Your Own Homework Question
Customer reply replied 4 years ago
Im in the Uk .. Can you please add as muxh comments as you can
Ok, that's a tight deadline, but I'll give it a go.
Ask Your Own Homework Question
And please send the files again, it's showing error on dropbox.
Ask Your Own Homework Question
Customer reply replied 4 years ago

I would really appreciate it if you can get it done in time, I'm going to bed know here are all the files:


 


https://www.dropbox.com/s/605lk08q5yhrms7/r-roubin.c?m


 


https://www.dropbox.com/s/3k1fsyqbuv2ojxm/Shelfish%20Round%20Robin.docx?m


 


https://www.dropbox.com/s/k81jdesf8km5rbm/lecture%2012.ppt?m

Received them, I'll try my best.
Ask Your Own Homework Question
Customer reply replied 4 years ago
Hi.. How is it going?
Customer reply replied 4 years ago

can you please cancel the question

I was working on it. Might need some more time. Do you no longer need help with this?
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok I will wait but it has to be done in a couple of hours as im past my deadline.

Ok, I'll get back to you in a couple of hours.
Ask Your Own Homework Question
Almost done. Do you have any sample output to verify the program?
Ask Your Own Homework Question
Customer reply replied 4 years ago

A display for 3 processes labelled A, B and C. Where


A requires 2 units of time NUT = 2, and arrival time AT = 0.


B requires 3 units of time NUT = 3, and arrival time AT = 0.


C requires 2 units of time NUT = 2, and arrival time AT = 2.


 


And the unit time allowed for each process UT = 1 with the two incremental factors ready_list = 2; accepted_list = 1


 


Note when two or more processes have an equivalent arrival times then queue them in the order they arrive i.e. 1st come 1st on the queue.


 


Assume processes are migrated from the ready_list to the accepted_list at the end of a timecycle


 


 


Your program should then display


 


T A B C


0 R W -


1 W R -


2 R W W


3 F R W


4 F W R


5 F R W


6 F F R


7 F F F


 


Each run should stop when all processes have F status; where T shows each unit cycle of time.


 


Finally your program should display the stats associated with each processes throughput, namely arrival time, start time, wait time, completion time, NUT, penalty ratio.

Ok, I'll check my output, make corrections if any and get back to you.
Ask Your Own Homework Question
Ok, I got it working. Only difference from your output occurs when accepted queue is having a single process and a new process is about to be accepted. Then, old process in accepted queue runs again in next time slice because new process joins it at tail. This, toggles their W and R from the situation if new process were directly running on the accepted queue. This might change their wait and finish time by 1 time slice.

But I believe that serves the purpose of the simulation of a selfish round robin scheduler. If you're happy with that, I'd send the program.


Thanks
Ask Your Own Homework Question
Customer reply replied 4 years ago
Yes I think thats how it works, can you cancel the link after i dowload?
Yes, I'd do that as soon as I receive the rating. And just checked the code for the process schedule given in the powerpoint presentation you sent. It's giving the same output as the table in the ppt. So, I'm sure my code is working correctly. Should I send the file now?
Ask Your Own Homework Question
Customer reply replied 4 years ago
Yes but i cant chrck it now as im busy ill chrck it in the next hour
This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5,471
Experience: B.Tech
Verified
R.R. Jha and 87 other Homework Specialists are ready to help you
Ask your own question now
Customer reply replied 4 years ago

I dont think it working correctly its not behaving like in the ppt if you can fix that, also if you can add an option to load the info from a file.


 


here are some questions I have


 


void move_to_list(proces **list1, proces **list2); // what does the 2 ** mean?


 


get_process_list(&process_list, &quanta, &a_inc, &b_inc);// why & ?


 


(*accepted_list)->state[t_slice] = 'R'; // why ()

It's working as in ppt. I'll send the output and answer to your questions.
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok thanks

You're welcome
Ask Your Own Homework Question
Customer reply replied 4 years ago
How is it going?
Customer reply replied 4 years ago

sorry it works my mistake.


thank you

Ask R.R. Jha Your Own Question
R.R. Jha
R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5,471
5,471 Satisfied Customers
Experience: B.Tech

R.R. Jha is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

5,731 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
I need the answer key to penn american literature, 986174RR
I need the answer key to penn foster american literature, 986174RR 986175RR 986176RR 986177RR 986178RR … read more
GLENN
GLENN
Master of Mathematics
339 satisfied customers
For LogicPro only * Reading data strings from a file *
For LogicPro only* Reading data strings from a file * Convert from int based container to templates or generics based * Accommodate dynamic resizing using this algorithm: 1. Starting with a dynamic si… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
Question 1 of 20: Select the best answer for the question.
Question 1 of 20 : Select the best answer for the question. 1. For what type of document would you use the landscape page orientation? A. Three-column brochure B. Business letter C. Legal contract D. … read more
GLENN
GLENN
Master of Mathematics
339 satisfied customers
5 - 5 x 5 +5. What is the answer to 5 - 5 x 5 + 5? Only that
no, only that two people using order of operations keeps getting different answers… read more
GLENN
GLENN
Master of Mathematics
339 satisfied customers
Only for F.Naz Tutor. Kindly help with a research report,
Only for F.Naz Tutor.Kindly help with a research report, the links is http://www.mediafire.com/file/bmcea6dt278nw8w/report.txt… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
If I did not look at the description which says 4 cpu cores
if I did not look at the description which says 4 cpu cores and 6 gpu core to make TEN I wonder if you can bundle the two to make an advertisement that says 10 core I also have others in the same fiel… read more
Pete
Pete
Engineer
Bachelor\u0027s Degree
1,124 satisfied customers
1. You've formatted the first paragraph of a document. What
1. You've formatted the first paragraph of a document. What button can you use to apply the formatting from the first paragraph to the next paragraph in the document? A. Cut B. Paste C. Copy D. Format… read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,381 satisfied customers
Below is the Sketch of the improved parking lot from 36
Below is the Sketch of the improved parking lot from 36 available parking spaces to 51 total parking spaces with 15 newly added parking spaces. The design was 4 rows were made from previously 3 rows. … read more
GLENN
GLENN
Master of Mathematics
339 satisfied customers
Question 3 of 20: Select the best answer for the question.
Question 3 of 20 : Select the best answer for the question. 3. Circular errors are caused by adding the cell name of a/an _______ cell to a formula. A. adjacent B. absolute C. active D. relativeQuesti… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
Are u able to help me do this question in raptor The Dash
are u able to help me do this question in raptorThe Dash Cell Phone Company charges customers a basic rate of $5 per month to send text messages. Additional rates are as follows: l The first 60 messag… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
I need to do a research project for school. I want to see if
I need to do a research project for school. I want to see if motor proteins will carry their cargo to its destination under different conditions; different drugs. If they do in what condition is the c… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
I am attempting to do a netbeans java assignment and need
I am attempting to do a netbeans java assignment and need help implementing the overridden method… read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
This assignment is due by next Tuesday by midnight. Is this
Hello David! This assignment is due by next Tuesday by midnight. Is this a good amount of time for you?Complete the following questions in an MS Word Document in APA format. Double space your work and… read more
David L.
David L.
Bachelor\u0027s Degree
6 satisfied customers
NOTE: This question is a homework given by the same
NOTE: This question is a homework given by the same professor. It does not violate any honor code because same question is repeatedly asked different students. DO NOT FLAGCase Study #1: Technology & P… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Exam Number: 584001RR Lesson Name: Microsoft Word 2016 1.
Exam Number: 584001RR Lesson Name: Microsoft Word 2016 1. Add a _______ to manually force text from one page to the next page. A. header B. blank page C. footer D. page break2. Tab stops are very usef… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
Penn college need answer now plz Microsoft Word 2016 1. Font
Penn foster college need answer now plz Microsoft Word 2016 1. Font size, font style, and _______ are all aspects of character formatting. A. typeface B. indentation C. line spacing. D. alignment 2. W… read more
GLENN
GLENN
Master of Mathematics
339 satisfied customers
Adrianna, a local retired music teacher and amateur concert
Adrianna, a local retired music teacher and amateur concert violinist, has recently died. Her will contains the following provisions: (i) £150,000 on trust to be shared equally between those pupils to… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
When Boyajian purchased her home in Yosemite Sky Park, a
When Boyajian purchased her home in Yosemite Sky Park, a residential subdivision created for owners of small airplanes, the deed transferring title from San Joaquin Development Corporation to her incl… read more
Steven, M.Acc.
Steven, M.Acc.
Instructor
Master\u0027s Degree
252 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x