1. Write a program to simulate one of two Process Scheduling algorithms a. Simulate either Shortest...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Write a program to simulate one of two Process Scheduling algorithms a. Simulate either Shortest Job First (SJF) or Priority Scheduling. 2. Program can be written as a Windows App or a Console App. a. Can use either C++, or Python programming languages. b. A windows app has features to allow you to simulate the Ready Queue. c. If console mode, use the Extended Ascii code set to print primitive boxes and borders, OR print out text lines describing what has happened. d. Program shall display a queue in either graphical or console mode. 3. The user can enter three inputs to make the program work. a. User enters (E) to execute the next Process in the Ready Queue. b. User enters (A) to Add a process in the Ready Queue. c. User enters (X) to Exit the program. 4. Show the queue being updated after a process finished running. 5. The program shall have the ability to place a new, ready process on the queue. a. If using the priority scheme, a priority shall be associated with the process. b. If using the SJF scheme, a CPU Burst time shall be associated with the process. Activate 1. Write a program to simulate one of two Process Scheduling algorithms a. Simulate either Shortest Job First (SJF) or Priority Scheduling. 2. Program can be written as a Windows App or a Console App. a. Can use either C++, or Python programming languages. b. A windows app has features to allow you to simulate the Ready Queue. c. If console mode, use the Extended Ascii code set to print primitive boxes and borders, OR print out text lines describing what has happened. d. Program shall display a queue in either graphical or console mode. 3. The user can enter three inputs to make the program work. a. User enters (E) to execute the next Process in the Ready Queue. b. User enters (A) to Add a process in the Ready Queue. c. User enters (X) to Exit the program. 4. Show the queue being updated after a process finished running. 5. The program shall have the ability to place a new, ready process on the queue. a. If using the priority scheme, a priority shall be associated with the process. b. If using the SJF scheme, a CPU Burst time shall be associated with the process. Activate
Expert Answer:
Answer rating: 100% (QA)
Creating a complete graphical or consolebased simulation for process scheduling requires a more extensive implementation However I can provide you wit... View the full answer
Related Book For
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord
Posted Date:
Students also viewed these programming questions
-
4) A frictionless rod of length L rotates counterclockwise in the xy plane with constant angular speed w. A bead of mass m, free to slide on the rod, leaves the origin with initial speed vo along the...
-
THIRD AVENUE SOFTWARE HEALTH-CARE APP PROJECT This case is new for the ninth edition of Information Technology Project Management . The case provides an opportunity to apply agile and Scrum...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Please show your work D To be a valid route, it must consist of a sequence of valid move. Each valid move is either going to the right for one block or going down for 1 block. T d) How many valid...
-
Trek has designed a new off-road bicycle designed to stand up to the rugged conditions of trail riding. Develop a theme for an advertising strategy that ensures all three components of attitude are...
-
The flow of passenger traffic is an important factor in an airports success, and over the past year, heightened security measures at Winnebago County Airport in Rockford, Illinois, have slowed...
-
What is a PDR and what is it intended to accomplish?
-
Presented on the following page is the Preclosing Trial Balance for the City of Savannah, Georgias General Fund as of December 31, 20X6 (with amounts in thousands). Assume the following: Outstanding...
-
The following data pertain to Lawn Master Corporation's top-of-the-line lawn mower. Variable manufacturing cost Applied fixed manufacturing cost $279 59 Variable selling and administrative cost 62...
-
Company Background Discuss the company backgrounds of your chosen company. Information may include - when these companies started their operations, what kind of industry they belong to, their...
-
What is the statement of stockholders equity, and what information does it provide?
-
Why is a call provision advantageous to a bond issuer?
-
Indicate whether each of the following statements is true or false by writing T or F i n t he a nswer c olumn. Since most forms of gambling are illegal, most forms of online gambling are also illegal.
-
Why is NOPAT a better performance measure than net income?
-
What is a discount bond? A premium bond?
-
One year ago XYZ deposit of 1260 in an account that has orange and Will are in 11.40% interest and compound interest FBC a deposit 4350 an account in two years from today that simple interest then...
-
Digital Fruit is financed solely by common stock and has outstanding 25 million shares with a market price of $10 a share. It now announces that it intends to issue $160 million of debt and to use...
-
The probability that a specific vulnerability within an organization will be the target of an attack is known as which of the following? a. Probability b. Manageability c. Likelihood d. Practicality
-
Emphasize how as aspiring information security professionals your students will have a key role to play in risk management. Remind your students that the IT community must serve the information...
-
Which of the following defines the edge between the outer limit of an organizations security and the beginning of the outside world? a. Framework b. Security perimeter c. Security domain d. Defense...
-
Eigenvalues without pain: CHEBFUN code. Eigenfunctions can be derived using the CHEBFUN with MATLAB since it has an overloaded eig function. The following code solves for the eigenfunctions of the...
-
For the Biot problem in a slab by expanding the sin and cos term and keeping only terms up to \(\lambda^{2}\) the following approximate relation can be obtained for the eigenvalues for small Biot...
-
Consider the problem of transient heat transfer with a constant heat source in a slab. Show that the governing equation in dimensionless form is \[\begin{equation*}\frac{\partial \theta}{\partial...
Study smarter with the SolutionInn App