Question: Project - 2 4 1 : CPU Scheduling Simulator in Java Project Overview This project aims to create a Java - based simulator that visually

Project-241: CPU Scheduling Simulator in Java
Project Overview
This project aims to create a Java-based simulator that visually demonstrates various CPU scheduling algorithms. The simulator will allow users to input parameters such as the number of processes, their arrival times, burst times, and the scheduling algorithm to be used. It will then visually simulate the execution of these processes and provide performance metri.
Required Features:
1. Process Creation:
- Allow users to input the number of processes.
- Generate random or user-defined arrival times and burst times for each process.
- Create process objects with their respective attributes.
2. Scheduling Algorithm Selection: Implement at least three common CPU scheduling algorithms :
- First-Come-First-Served (FCFS)
- Shortest Job First (SJF)
- Round Robin
- Multilevel scheduling (with 3 different priorities; 1,2 and 3), using the following algorithms:
Q1(priority=1) Priority scheduling.
Q2(priority=2) Priority scheduling.
Q3(priority=3) Shortest Job First.
Processes enter the queue according to its priority. To avoid starvation, the process from the lower queue will be upgraded to higher queue after a certain time threshold to avoid starvation. The threshold is to be set by the user.
3.3Simulation:
* Simulate the execution of processes based on the selected algorithm.
4. Performance Metrics:
* Calculate and display performance metrics such as:
* Average waiting time
* Average turnaround time
5. Deliverables:
- Project report
You must include a screen capture images of the output along with description. You should also include the important part of your code with description. Please include a table of group members and the tasks carried out by each.
- Source code
Should be commented and indent.
- Presentations and Demo
Must involve all the group members
6. Assessment:
- This is a group project of four students.
- Distribution Marks:
- Project Report: (4 Marks)
- Source Code: (5 Marks)(-20% for non-working code)
- Presentations and demo: (5 Marks)
- presentation (2 Marks)
- demo (1 Marks)
- Answer Q (2 Marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!