الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

[مخالف - طلب حل : ]مساعدة في البرمجة

مغلق
بدأه Abo 3maar في 2 مايو 2012 · 1 رد · 690 مشاهدة · في هندسة البرمجيات
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

لسلام عليكم

الرجاء مساعدتى في حل الواجب الذي سوف اوصفلكم اياه

الواجب كا الاتي

The purpose of this project is to write a program that simulates an operating system.

The program implements the following CPU scheduling algorithms.

1. First]Come]First]Serve (FCFS)

2. Shortest]Job]First (SJF)

3. Round]Robin with time slice = 3 (RR]3)

4. Round]Robin with time slice = 5 (RR]5)

The program will read process burst times from a file (job.txt) ] this file will be provided by the instructor.

A sample input file of four jobs is given as follows (burst time in ms).:

[begin of job.txt]

Job1

7

Job2

4

Job3

9

Job4

6

[End of job.txt]

Note: You can assume that

(1) there are no more than 20 jobs in the input file (e.g. job.txt).

(2) processes arrive in the order they are read from the file for FCFS, RR]3 and RR]5.

(3) all jobs arrive at time 0 for SJF.

Compare the average completion times of all jobs for each scheduling algorithm.

Output the details of each algorithm's execution. You need to show which jobs are selected at what

times as well as their starting and stopping burst values. You can choose your display format, but it is

recommended that you display the results in terms of a Gantt chart.

يحب ان تعمل على الجافا

واكون لكم من الشاكرين

#2

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته.

مرحباً بكم في منتدى الفريق العربي للبرمجة

تأسف إدارة المنتدى لغلق الموضوع وذلك لمخالفته قوانين المشاركات، فقرة طلب حل الواجبات والتمارين.

قواعد طرح المشاركات

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

لا إله إلا الله ... محمد رسول الله

لو كانت مشاركتي مفيدة و تريد تشجيعي على المزيد من العطاء , فضلا قم بتقييم المشاركة

المعرًف القديم : houssam11350_11350

من مواضيعي : ArabGenCode : مولد كود و إجراءات مخزنة و واجهات لجداول سيكوال سيرفر

هذا الموضوع مغلق.

مواضيع مشابهة