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

  Demonstrate mastery conceptualizing the problem

Why is this question interesting? Who might care what the results would be - Any other thoughts or ideas you might have regarding this research issue.

  What impact does network congestion have on productivity

Based on the Hamblen and Lawson (2008) article, what is the major innovation that this new switch offers? How does this convergence allow data centers to be virtual?

  How operating system is clearly superior for any application

Consider the advantages and disadvantages of each major operating system that Amy might use on the Web server. If you don't think that one operating system is clearly superior for this application, describe why.

  When a process is multithreaded

Explain the differences, advantages, and disadvantages between user and kernel threads. What are the advantages and disadvantages of a lightweight process?

  Explain features of vista operating system

What makes Vista better (or worse) choice for home or office computing? Explain general features of the operating system.

  Solving problem by ipv6

Discuss and explain some of the problems NATs develop for IPsec security. Solve this problems through using IPv6?

  Why thread belonging to same process affected by page fault

Other user user threads belonging to the same process also be affected by the page fault (i.e., would they also have to wait for the faulting page to be brought into memory?) Explain.

  Assignment of parquet definetion

What is parquet definetion and repition level.

  Show the contents of a single environment variable

CIS 240 - What command would you use to remove job number 5 from your default print queue and what is the absolute pathname of the file which defines aliases available to ALL users?

  Impact of operating system structure on memory system

The Impact of Operating System Structure on Memory System Performance. In Proceedings of the fourteenth ACM symposium on Operating systems principles

  How to implement a priority-based scheduler for xv6

COP4610: Introduction to Operating Systems Project: Priority-based Scheduler for Xv6. In this assignment, you will learn how to implement a priority-based scheduler for xv6. To get started, download a new copy of the xv6 source code from here. Do N..

  A computer has a cache, main memory, and a disk

A computer has a cache, main memory, and a disk. If a referenced word is in the cache, 20 ns are required to access it. If it is in main memory but not in the cache (called cache miss)

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