Design programming project assignment - you will define the


Design Programming Project Assignment

Adding a preemptive multi-tasking and time-sharing feature with round-robin and priority  scheduling. 

Modify your Design Programming Project Assignment 1 to implement preemptive multi-tasking with time-sharing. You will implement process entities (jobs) that will allow your machine to run several Fish machine language programs. In order to do this you will design and develop a Process Control Block (PCB) data structure that is created for each job. These PCBs will have to be linked to a job queue that will function in a round-robin fashion. 

You will define the notion of an interrupt handler that will process a time quantum for each running job. On each job switch, you will provide the option to print some state information such as which job will be loaded and the current state of the job queue.

Your enhanced version of FishOS will then run six or more Fish machine language programs simultaneously. These programs will test the ability of your simulation to handle multi-tasking. Additionally, you must implement a priority-based scheduling system.

Your FishOS will run several Fish machine language programs at three priority levels. You will modify the Process Control Block (PCB) data structure to support a range of priorities from 0 (low) to 2 (high). These PCBs will be linked to a job queue that will function in a roundrobin fashion on levels 1 & 2, and first-come-first-served for level 0. You will define the notion of an interrupt handler that will process a time quantum for each running job. The formula that governs your short term scheduler is level 2 gets 50% of the cpu time, level 1 gets 30% of the cpu time and level 0 gets 20% of the cpu time. 

On each job switch, you will print some state information such as which job will be loaded and the 2 current state of the job queue. Your version of FishOS will then run six or more Fish machine language programs simultaneously. These programs will be assigned different priority levels by the system (IE. you must have a mechanism to assign there priorities at job creation).

Attachment:- Assignment Files.rar

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Design programming project assignment - you will define the
Reference No:- TGS02514758

Expected delivery within 24 Hours