Reference no: EM131158098
We use the elevator algorithm to service requests on a disk with the following characteristics:
1. There are 10,001 tracks, numbered 0 to 10,000.
2. It takes time 1+(t/1000) milliseconds to move the headttracks.
3. Once arriving at a track, it takes 1 ms. to satisfy a request for I/O at that track.
4. The decision regarding what track to visit next is made based on all requests made at or before the time at which the previous read completes, subject to the "elevator" rule that the head continues to sweep in the same direction, if possible.
5. At time 0, the head is at track 0, at rest.
Here is the sequence of I/O requests and the times at which they are made:
0
|
7000
|
5
|
2000
|
10
|
9000
|
15
|
6000
|
20
|
3000
|
Simulate the behavior of the elevator algorithm for these requests. Which of the following correctly describes the time (in milliseconds) at which the I/O operation at a certain track begins?
Class definition for queue
: Write the class definition for this queue, in pseudocode or C++, which has the array, head and tail pointers as public data structures, and enque(int) and int dequeue() as two methods. The contsructor initializes head and tail pointers to NULL.
|
Does the information media have social responsibility
: Answer the following questions: Does the information media have social responsibility? If yes, in what ways? If not, why not? What is the role of the information and news media in the shaping of political opinions
|
How many simultaneous message could be set along this system
: In actual system only 672 message channels are used. The additional pulses are used for other functions such as synchronization
|
Describe the ways in which homeless is a social problem
: Some of the policies suggested in the video involve government policies and funds to address homelessness. Suggest at least one other way that policies and/or programs to address homelessness can be funded. How do you define what is appropriate u..
|
Operation at a certain track begins
: Simulate the behavior of the elevator algorithm for these requests. Which of the following correctly describes the time (in milliseconds) at which the I/O operation at a certain track begins?
|
What is common law
: What is common law? Where did it develop? Why is it an important aspect of the legal system
|
What temperature will be indicated by the thermocouple
: What temperature will be indicated by the thermocouple? Assume free convection from the thermocouple.
|
Why you not expect all industries to have a similar relation
: Discuss why you would not expect all industries to have a similar relationship trend to the economy. Provide an example of two industries that have a different relationship to the economy and explain the difference.
|
Research and development commitments
: Teradata needs to prioritize its research and development commitments. In order to do this they must have all the information available and accurate. This requires integrating data from many sources both internal and external.
|