Design a program that simulates a simple cpu scheduling

Assignment Help Operating System
Reference no: EM131321182

Coding Project

CPU Scheduling

Design and implement a program that simulates a simple CPU scheduling of an operating system. Your simulator must conform to the criteria established in these specifications.

1) The simulated CPU scheduling algorithms are: FCFS, SJF and RR.

2) Input should include (either GUI or cmd): scheduling algorithm, job1, job2, ...., jobn. Each jobx has a format of (jobID, BurstTime), e.g. (4, 17) means job "4" has a burst time of "17" for execution to complete.

3) If RR is used, the quantum "q" should be specified in the input as well. That says, you may have input like: RR, q, job1, job2, ...., jobn.

4) Output: the execution job sequence and execution time, e.g. job1, 5, job2, 4, job1, 2,.....

Reference no: EM131321182

Questions Cloud

Define external validity : Why is it never possible to know whether a research finding will generalize to all populations of individuals? How do behavioral scientists deal with this problem?
Create trend-moving averages with the given values form : Create trend-moving averages with the following values form: 10, 100, and 200. Graph the data with Excel. Create centered-moving averages with the following values form: 10, 100, and 200. Graph the data with Excel.
Can the kincaids bring action against the desses : But a copy of the prenuptial agreement could not be found. Can the court enforce the agreement without a writing? Why or why not - which was granted to it on Evangel's behalf as a church Evangel could end the lease without making the 10 present pay..
Identify the purpose of the replication : Develop a research hypothesis, and propose a specific test of it. Then develop a conceptual replication and a constructive replication that investigate the expected boundary conditions for the original relationship.
Design a program that simulates a simple cpu scheduling : Design and implement a program that simulates a simple CPU scheduling of an operating system. Your simulator must conform to the criteria established in these specifications.
At what total capital investment level : A company expects to earn $23 million in income this coming year. Its target capital structure is 30% debt, 15% preferred stock, and 55% common equity financing. The company normally pays a dividend equal to 27% of its earnings. At what total capital..
Yield to maturity on debt issues with risk comparable : Yield to maturity (YTM) on debt issues with risk comparable to the Sonar Company is currently 9.2%. Sonar has issued debt two years ago with a YTM of 8.00%. Sonar's common stock beta is 1.15, and its tax rate is 34. The appropriate rate for Sonar to ..
What are single-participant research designs : What types of independent variables can be used in participant-variable research designs, and what conclusions can and cannot be drawn from their use?
Analyze and evaluate your overall comprehension : Demonstrate ethical behavior in regard to information and information technology - Analyze and evaluate your overall comprehension of the course relative to a broad-based evaluation of your understanding of the course concepts

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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