4. In the exponential average formula presented in lecture, if the parameters were assigned the values...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
4. In the exponential average formula presented in lecture, if the parameters were assigned the values a = 0.000001 and T, = 200 milliseconds, what does this mean for the estimate calculated by the formula? What if the parameters were assigned values a = 0.999999 and t, = 300 milliseconds? 5. For the processes shown below, with their arrival times and CPU burst lengths, give the schedule of these processes if the algorithm used is Shortest-remaining-time-first. (You can use the format: [t1, t2] Pi means process Pi is scheduled from time t1 to time t2. For example, [0, 2] P1, [2, 5] P2, [5, 6] P3 means P1 is scheduled from time 0 to 2, P2 is scheduled from time 2 to 5, and P3 is scheduled for time 5 to 6.) Process Arrival Time Burst Time 9 P2 2 8 P3 4 6. P. 6. 1 6. We have two processes P, and P, with p, = 40, t, = 15, p, = 80, t, = 30. The deadline for each process requires that it complete its CPU burst by the start of its next period (the same as in examples shown in lecture). Is it possible to schedule these two processes using rate-monotonic scheduling? If so, give the schedule. (Use the same format as in the previous question.) 7. Can you describe an example scenario in which the same frame numbers appear in the page tables of different processes? 8. Suppose a system has a logical address space that consists of 2048 pages and each page has size 8 KB. The physical memory has 1024 frames. (a) The logical address has how many bits? (b) The physical address has how many bits? 9. Suppose a system has a 36-bit logical address and 8 KB page size, and has 1 GB (or 1024 MB) of physical memory. (a) If it uses the regular single-level page table, the table will have how many entries? (b) If it uses an inverted page table, the table will have how many entries? 3. LO 4. In the exponential average formula presented in lecture, if the parameters were assigned the values a = 0.000001 and T, = 200 milliseconds, what does this mean for the estimate calculated by the formula? What if the parameters were assigned values a = 0.999999 and t, = 300 milliseconds? 5. For the processes shown below, with their arrival times and CPU burst lengths, give the schedule of these processes if the algorithm used is Shortest-remaining-time-first. (You can use the format: [t1, t2] Pi means process Pi is scheduled from time t1 to time t2. For example, [0, 2] P1, [2, 5] P2, [5, 6] P3 means P1 is scheduled from time 0 to 2, P2 is scheduled from time 2 to 5, and P3 is scheduled for time 5 to 6.) Process Arrival Time Burst Time 9 P2 2 8 P3 4 6. P. 6. 1 6. We have two processes P, and P, with p, = 40, t, = 15, p, = 80, t, = 30. The deadline for each process requires that it complete its CPU burst by the start of its next period (the same as in examples shown in lecture). Is it possible to schedule these two processes using rate-monotonic scheduling? If so, give the schedule. (Use the same format as in the previous question.) 7. Can you describe an example scenario in which the same frame numbers appear in the page tables of different processes? 8. Suppose a system has a logical address space that consists of 2048 pages and each page has size 8 KB. The physical memory has 1024 frames. (a) The logical address has how many bits? (b) The physical address has how many bits? 9. Suppose a system has a 36-bit logical address and 8 KB page size, and has 1 GB (or 1024 MB) of physical memory. (a) If it uses the regular single-level page table, the table will have how many entries? (b) If it uses an inverted page table, the table will have how many entries? 3. LO
Expert Answer:
Answer rating: 100% (QA)
5 05 P1 56P4 67P5 79P4 913P1 1319P3 1927P2 6 Ratemonotonic scheduling is a prioritybased algorithm The priority is given according to its period ie lower the period higher the priority Since it is men... View the full answer
Related Book For
Modeling the Dynamics of Life Calculus and Probability for Life Scientists
ISBN: 978-0840064189
3rd edition
Authors: Frederick R. Adler
Posted Date:
Students also viewed these computer network questions
-
What does this mean for k = 2? How much of the probability must lie within two standard deviations of the mean? There is a general inequality about any random variable X, called Chebyshev's...
-
What does this mean for k = 1? Does this tell us anything? There is a general inequality about any random variable X, called Chebyshev's inequality. Suppose X has mean and standard deviation . Then...
-
Assume that demand for cigarettes is quite inelastic. What does this mean in terms of the demand for cigarettes? If a tax is added to cigarettes how will the quantity demanded change? If a tax is...
-
Automobiles air bags are filled via the decomposition of sodium azide, according to the following equation: 2 NaN3 (s) 2 Na (s) +3 N2 (g) Calculate the work (in L atm) when 2.25 g of sodium azide...
-
Choose a decision that you currently face. What are your objectives in this situation? List your means objectives, and for each means objective list at least one alternative that could help achieve...
-
A local company installs natural-gas grills. As part of the installation, a ditch is dug to lay a small natural-gas line from the grill to the main line. On the average, the depth of these lines...
-
Do the following activities to complete your marketing plan: 1. Draw a simple organizational chart for your organization. 2. Develop a Gantt chart (see Chapter 2) to schedule the key activities...
-
Relevant-cost approach to pricing decisions, special order. The following financial data apply to the videotape production plant of the Dill Company for October 2009: Variable manufacturing overhead...
-
If taxpayers rent their second home out for up to 14 days per year, they can _______. Unset starred question Avoid paying taxes on the rental income Deduct employment income from taxes Join a...
-
The proposed rates were not in the range the CEO expected given the pricing analysis. The CEO has asked the pricing actuary to verify the total projected loss cost excluding potential large storm...
-
Explain why promoting safety by example is so important.
-
Charge is distributed uniformly throughout the volume of an infinitely long cylinder of radius R= 3 . 0 0 1 0 - 2 m. The charge density is 6 . 0 0 1 0 - 2 c/m 3 . What is the electric field at r= 1...
-
What circumstances/factors can cause an individual disputes to escalate to the collective level? Is a worker an employee? What role does the state play in employee relations and how is this role...
-
Suppose that the total market value of all final goods and services produced this year in economy X is $4 million. Of the $4 million in goods, $3 million is sold and $1 million is held in inventory....
-
(a) Consider a two-class classification problem, where two species of flowers, either Rose or Jasmine needs to be classified based on two image features, Feature 1 and Feature 2. Figure 5 shows the...
-
Consider the following pseudocode: int x = 0 set_x (int n) { x = n } print_x() { print(x) } f() { set_x(1); print_x() } g() { int x = 0; set_x(2); print_x() } set_x(0); f(); print_x()%; g();...
-
locate your most recent resume. It needn't be perfect--just something that provides a start. You'll do something with it in the workshop and eventually develop a polished resume that has been...
-
Consider the circuit of Fig. 7.97. Find v0 (t) if i(0) = 2 A and v(t) = 0. 1 3 ett)
-
g(x) = ln(1 + x2). Find one point where g(x) is decreasing. Find the derivatives and other requested quantities for the above function.
-
Use substitution to evaluate the following definite integrals. 15 cos 2 (x-2)] dx
-
Instead of measuring only a single piece of DNA with the new method, 20 pieces are measured and 650 errors are found. Does the new method reduce the number of errors? A company develops a new method...
-
If you make multiple measurements of your height, you are likely to find that the results vary by nearly half an inch in either direction due to measurement error and actual variations in he ight....
-
Loveland, Colorado, is 18 km due south of Fort Collins and 3 1 km due west of Greeley. What is the distance between Fort Collins and Greeley?
-
Migrating geese tend to travel at approximately constant speed, flying in segments that are straight lines. A goose flies 32 km south, then turns to fly 20 km west. Afterward, how far is the goose...
Study smarter with the SolutionInn App