Arandom seed, the name of the algorithm to use

Assignment Help Basic Computer Science
Reference no: EM13936413

In this project you will write a short-term scheduler and observe its properties. It will work as follows:
1. The scheduler will run in a single process, with simulated jobs.
2. You will implement a scheduler of SRT.
3. SRT will use burst time.
4. The program will take three arguments, a random seed, the name of the algorithm to use, and the length of time to run (in milliseconds)
5. You will simulate the clock interrupt with an alarm signal handler and setitimer(). See the example in the code (see below).
6. All I/O requests will be handled in 40 milliseconds. That is, when a job is blocked and removed from the ready queue, it can be added back at the next opportunity if 40 milliseconds have expired. You do not need to schedule a timer to simulate the I/O interrupt, just handle it when you do the clock interrupt. This way, all events happen in the alarm handler and you can deal with them in one place.
7. When a job completes, you will print out the following information:
a) Arrival time
b) Completion time
c) Service time
d) Turnaround time

Reference no: EM13936413

Questions Cloud

Follow ieee or acm paper templates : 5 Pages or more, IEEE format for the paper, Try to have a suitable Title for the IEEE paper according to requirements. Make sure you include the OS listed plus the "others" Also, that all the 40 citations should be in the paper referenced. (5 onli..
What is the hedge ratio for the given transaction : You have a long position in Stock 1 and would like to hedge it using a three-month futures contract on Stock 2. A series of daily prices is provided below. What is the hedge ratio for this  transaction?
New emerging technology and its unique selling proposition : Give a detailed information on the new emerging technology and its unique selling proposition (USP). This should be supported by relevant research.
How did supreme court analyze foley implied contract claim : Why did the Supreme Court find that Foley was not able to establish his tort claim, and how was Foley's claim different from the claims in the Petermann andTameny cases? How did the Supreme Court analyze Foley's implied contract claim, and why did ..
Arandom seed, the name of the algorithm to use : All I/O requests will be handled in 40 milliseconds. That is, when a job is blocked and removed from the ready queue, it can be added back at the next opportunity if 40 milliseconds have expired. You do not need to schedule a timer to simulate the..
Effect of fragmentation and of compacting memory : Its a programming code, so as discussed its program source code, and all the working will be shown with the program running.In this exercise, we simulate a memory allocation (we just want to see the effect of fragmentation and of compacting memory..
Appropriate marketing terminology and concepts : Discuss and analyse the stories using appropriate marketing terminology and concepts, and applying marketing frameworks, tools etc. if/where relevant. The analysis should be your own, not simply reproducing analysis contained within the news stori..
Write appropriate mutator functions that store values : A default constructor that assigns empty strings ("") to the name, department, and position member variables, and 0 to the idNumber member variable.
Create a complete alternative css style : The topic of your site can be any of your choosing. Pick something you have an active interest in, a hobby, a sport you play, a group or club you belong to, or any similar topic. Once you have selected your topic YOU MUST CONFIRM THIS WITH YOUR TU..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How to understand the code perfectly without unclear steps

Finish the following hangman C++ program and make it run well as well as comment the program through to help me understand the code perfectly without unclear steps.

  What line blocks a producer thread when the buffer is full

In the implementation of finite bounded buffer shown in Figure 5.16… What line blocks a producer thread when the buffer is full? What line releases a blocked producer thread when space becomes available?

  Discuss why the user needs are important or stood out

Cite specific examples from readings. Include personal experience with the topic if appropriate

  What is the expected number of floors the elevator stops

A building has n floors numbered 1, 2, . . . , n, plus a ground floor G.

  Student will creatively design and author a unique system

All code must conform to stylistic standards including proper commenting, appropriate choice of identifier names, proper indenting and other readability issues. Otherwise, marks will be deducted. Consult http://www.oracle.com/technetwork/java/codecon..

  Sorts rectangle objects

Sorts Rectangle objects

  Different types of switching used in data transmission

Compare or contrast the different types of switching used in data transmission. How many are there? What factors separate one from the other? Please elaborate.

  Develop a web-based application to improve development

Develop a Web-based application to improve development and delivery of products and services. There are currently several incompatible systems related to the development and delivery of products and services to customers.

  How might a source quenched sender recover

How might a source quenched sender recover from the resulting reduced transmission rate?

  Write a program named orderreceipt for the magic blender

Write a program named OrderReceipt for the Magic Blender Company. The program prompts the user for a name, street address, city, state, zip code, and quantity of blenders ordered at $39.95 each. In an attractive format (similar to Figure 2-24), displ..

  Why software products has successful growth strategy

Software products like Linux be a successful growth strategy in "brutally competitive marketplace" in which it operates? Explain why or why not?

  The program needs to read the number of rows and columns

The program needs to read the number of rows and columns from the user as command line arguments. You do need to check if the user supplied a number before you convert the string to a number. Continue to prompt for correct values, if the number..

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