Find Jobs
Hire Freelancers

design and implement a program to simulate shortest job

$10-30 USD

Σε Εξέλιξη
Αναρτήθηκε πάνω από 10 χρόνια πριν

$10-30 USD

Πληρωμή κατά την παράδοση
Operating Systems 1nd semester 1434-1435/2013-2014, Project Instructions • There should not be more than 4 students in a group. • The due date for the project is: 11/12/2013 • To get the grade, you must demonstrate the project. • All members of the group should be present during the project demo. • Late submission of project is not allowed. You are to design and implement a program to simulate shortest job first process scheduling with and without preemption. The program must maintain a ready queue and a list of waiting processes. The simulation will run in one unit time steps. You need to have some program to generate at least 1000 processes each with a mix of CPU burst and IO burst. CPU bursts should be on average 5 to 100 time units. IO bursts should be on average 50 to 1000 time units. The process should have at least 5 to 20 pairs of CPU and IO bursts (chosen randomly). The process should end in CPU burst. Assume 2 time units to do context switch. Use time quanta of 5, 10, 50, 100, 500, 1000, time units. The data is to be generated using a random number generator and saved in a file in following format: process id,arrival time,cpu burst, io burst, …,cpu burst -1(end of process) Example: 1,0,20,55,5,600,15,110,30,200,10,199,19,163,10,-1, 2,0,5,45,13,49,50,50,15,55,80,60,45,50,7,56,67,51,100,56,34,50,45,53,5,-1, 3,20,50,200,55,200,60,200,65,-1 … Pn You should have multiple data files to run the simulation multiple times. Assume ready-queue capacity of 20, 100, and unbounded (e.g. if capacity is 20, and you have a process arriving, you cannot put it on the ready queue; it has to wait). Your project report should have the tables presenting following parameters for various quantum values. • Average turnaround time • Maximum turnaround time • Average wait time • Maximum wait time • CPU utilization • Throughput (number of jobs processed per hour). • Terminate the simulation. Rules 1. This Project is to be conduct by groups of three students. Groups Of more than three students are not accepted. Groups Of two students are strongly discouraged and can only be accepted with a special permission from the course instructor. 2. All The members of a group must have the same tutorial instructor. 3. All Students must submit the list of their group members within one week of the announcement of this project. Once The groups are chosen, no student can change the group without a valid reason and the permission of the course instructor. 4. Every Member of the group must participate in all parts of the project: designing the software, programming and writing the report. Members Of the same group may receive different marks according to their participation in the project. 5. The Submitted software will be evaluated in a demonstration to which all the group members must attend. 6. Any Member of the group who fails to attend the demonstration without a proper excuse (consult the university and college regulations) shall receive the mark 0 In the project.
Ταυτότητα εργασίας: 5173499

Σχετικά με την εργασία

1 proposal
Απομακρυσμένη Εργασία
Ενεργός/ή 10 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
NOTE: I have DONE similar project before. And your project seems really easy for me. I can do this in 2 days. Contact me. Regards
$30 USD σε 2 ημέρες
4,9 (7 αξιολογήσεις)
3,3
3,3

Σχετικά με τον πελάτη

Σημαία της SAUDI ARABIA
RIYADH, Saudi Arabia
5,0
9
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Νοε 21, 2013

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.