Simulate a dispatcher using a priority queue system in c

Assignment Help Computer Engineering
Reference no: EM132131946

Simulate a dispatcher using a priority queue system in C.

New processes are to be entered using a GUI with priority included (numbering should be automatic).

Processes are also to be terminated by GUI command.

Context switches are to be by command with the cause of the switch being either a blocking call, time slice exceeded or termination.

Assume only one CPU.

Priorities and numbers of processes can be kept small, just big enough to demonstrate the required functionality. You may pre-populate the queues initially from a data file. I am looking at the mechanism as you are NOT creating actual processes, just simulating them.

Functionality:

1. Priority based Ready Queue(s).

2. Blocked list.

3. Output of complete system status after every context switch showing ready, blocked, and running processes.

This should be all in one program

Reference no: EM132131946

Questions Cloud

Decision-making approach your company is employing : What do you see as the advantages and disadvantages of the decision-making approach your company is employing?
Would you opt to pursue related diversification : Would you opt to pursue related diversification, unrelated diversification or combination of both
Discuss how to prepare for union contract negotiations : You are the manager of a small manufacturing plant. Discuss how to prepare for union contract negotiations?
What percent of tma is in the protonated : What percent of TMA is in the protonated form at the beginning of the titration?
Simulate a dispatcher using a priority queue system in c : Context switches are to be by command with the cause of the switch being either a blocking call, time slice exceeded or termination.
Double-replacement precipitation reaction described : 1. Balanced equation for the double-replacement precipitation reaction described, using the smallest possible integer coefficients.
Write a sequence of arm instructions to multiply the number : A single precision IEEE 754 number is stored in memory at address X. Write a sequence of ARM instructions to multiply the number at X by 16 and store the result
Draw a class diagram showing window and rectangle class : An object of class Rectangle with attributes length and width. Assume that the Rectangle class supports an operation to return the area of a rectangle object.
Sodium hydrogen carbonate : What volume of 0.600 M HCl is required to react completely with 2.50 g of sodium hydrogen carbonate?

Reviews

Write a Review

Computer Engineering Questions & Answers

  How has virtualization fuel business interest in data center

How/why has virtualization fueled business interest in data center consolidation? Discuss pros of using consultants to manage data center consolidation project?

  What are the basic features and transfer speeds of dsl

What are the basic features and transfer speeds of DSL? What are the basic features and transfer speeds of cable modems?

  Design a class named girl scout with fields that hold a name

Design a class named Girl Scout with fields that hold a name, troop number, and dues owed. Include get and set methods for each field.

  Are they close to the values predicted by sisotool

What are the PID gains for a controller as theoretically predicted by SISOTOOL? Do we need an integrator in the PID controller, why?

  Use an array to assign random numbers to the digits

Output the random digits to the screen, input the response from the user, and output whether or not the user's response correctly matches the PIN number.

  How would the architecture have to differ in the two cases

How would the architecture of the supporting information systems (extending to sales and customer support) have to differ in the two cases?

  Create a scenario for the state repository system

Create a scenario for the state repository system that shows all of the ways that Revert can affect the behavior of the system for one user.

  Challenges surface and to identify any common elements

The goal of the exercise is to see how many different challenges surface and to identify any common elements that made up the troubleshooting process

  How ip addressing work with dns servers to process a request

Draw a map, labeling every aspect, which represents how IP addressing works with DNS servers to process a request for a web page from your computer that returns the web page. Assume that it takes a few DNS servers to find the IP address.

  What is mno

What is MNO.

  Similairities and differences between memory management

Discuss the similairities and differences between memory management compaction and disk compaction.

  Define some uses of this instruction

Many instruction sets include the instruction NOOP, meaning no operation, which has no effect on the processor state other than incrementing the program counter Suggest some uses of this instruction.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd