Build FCFS And SJF algorithms in a program.

For this project, we will reuse the program which we implemented in the project 2. When user

starts the program, it will show the prompt after group ID consisting of section # and group #

(that is, section#_group#> $). This project aims to simulate two scheduling algorithms of

FCFS and SJF, therefore we will choose one of them as an option.

tcr –Option –Number of cooked food –Number of dining table

The parameters are following. Note that hyphen comes ahead each parameter.


Number of cooked food

Number of dining table

fcfs or sjf

Any integer

Any integer

In the option, fcfs stands for FCFS and sjf stands for SJF. In this project, we assume that all

guests arrive in the beginning. In other word, all the guests enter the restaurant as soon as chef

starts cooking. Time to Cook by chef is one second similar to the project 2, however Time to

Eat by guests and Number of Food Guest Wants to Eat must be provided by user. Thus, the

program should ask the information first before simulation as shown in the Figure 1.

While simulating the restaurant, status of chef, guests, and food should be displayed. After a

guest eats all he/she wants, show the waiting time.

Chef starts cooking.

Guest ID# arrives and wants to eat # of food.

Chef cooks one tandoori chicken. [# of cooked food / # of total food available]

Guest ID# eats a tandoori chicken. [# of eats / # of chicken he wants to eat]

Guest ID# finishes and exits. (after eating all he/she wants)

Guest ID# had been waiting for # second(s).

All guests finish eating and exit.

To exit the program, user needs to enter the following command.

Habilidades: Algoritmo, Programação C

Veja mais: i need a new website i need you to design and build a landing page want a simple landing page with a image of a complete face(ne, ecommerce site design and build, design and build yelp like website and mobile app for niche industry, design and build website, design and build web application, design and build the blog, design and build a responsive html newsletter for christmas, design and build a house sit and, design and build a house sit and house swap website, c program to show encryption and attacking, program roundrobin sjf, program disk scheduling fcfs algorithm, program preemptive sjf, program simulates sjf non preemptive, program disk scheduling fcfs

Acerca do Empregador:
( 0 comentários ) India

ID do Projeto: #12122311

10 freelancers estão ofertando em média $87 para esse trabalho


Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.

$30 USD em 1 dia
(420 Comentários)

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environ Mais

$100 USD em 1 dia
(71 Comentários)

hi. i have a lot of experience in Scheduling algorithms. i can easily complete this program for you. we can have a chat. thanks

$50 USD em 1 dia
(134 Comentários)

Hello, I have 30 years experience programming in C. I know the FCFS and SJF algorithms well. Since this is a continuation of another project, I must review that project. Your request appears incomplete. I will revis Mais

$500 USD in 3 dias
(60 Comentários)

Hey dear, i have a good experience shceduling programing. I am a good programmer with C/C++ High skill developers also award me with their project. You can see my profile. pl, i already good experience like this Mais

$98 USD em 1 dia
(36 Comentários)
$25 USD em 1 dia
(35 Comentários)

Hello, sir! I will complete your project in 0 days. I have 6+ years of experience in c/c++&java android programming. I have understood your requirement fully and recently developed such program. I will SATISFY Y Mais

$50 USD in 0 dias
(13 Comentários)
$61 USD em 1 dia
(19 Comentários)

Hi I have 3+ experience in web development. I did many job like this. I have strong knowledge of Mysql, Oracle, Database Design and I have also strong knowledge in languages like Java, JSP, PHP, Javascript, Boo Mais

$25 USD em 1 dia
(1 Comentário)

Hey. I have this ready as soon as you ping me I will handover it to you. Ping me!

$30 USD em 1 dia
(1 Comentário)

Hello, I can do this work. I am writing applications and databases in Microsoft Visual Studio C, C ++, C#. Regards, Alexey

$25 USD em 1 dia
(0 Comentários)

I am a computer scientist and have strong skills in designing & implementing algorithms. I have also strong skill of C and C++. Feel free to contact me for further discussion. Regards, Moeen Ahmed

$22 USD in 2 dias
(0 Comentários)