Reference no: EM13781079
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
e) Normalized turnaround time
Write paper on story where are you going where have you been
: Write a two to three page response to Joyce Carol Oates' short story, "Where Are You Going, Where Have You Been?". You may research the story a bit.
|
Time value of money are saving for the college education
: Time Value of Money You are saving for the college education of your two children. They are two years apart in age, one will begin college 15 years from today and the other will begin 17 years from today. You estimate your children's college expenses..
|
Modern economy and workplace environment
: Write an essay of 750-1,000 words describing the sociological implications of the modern economy and the workplace environment.
|
Write an argumentative paper of no more than 750 words that
: Write an argumentative paper of no more than 750 words that demonstrates why globalization is good or not good for a business. At the end of the paper, identify one example of how you used deductive reasoning and one example of how you used inductive..
|
Write a short-term scheduler and observe its properties
: 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).
|
Theories of social process-social conflict theories
: In a 1-2 page, well constructed essay, discuss the major differences between theories of Social Process and Social Conflict theories. Which theory best explains criminal behavior?
|
Major concepts of social psychology
: Analyze at least three (3) challenges individuals and law enforcement agencies face with the issue. Explain your agreement with at least three (3) statements by authors of the references cited. Explain your disagreement with at least two (2) statemen..
|
Arguments for god existence
: Pick one of the three arguments for God's existence (Cosmological, Teleological, or Ontological) and explain the reasoning of the philosopher for God's existence found within the argument.
|
Bioaccumulation occurs in the case of substances
: Bioaccumulation occurs in the case of substances that are ingested but cannot be excreted or broken down. Our knowledge regarding bioaccumulation of hazardous chemicals and their long-term effects in humans is very limited. Why?
|