Q4: Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q4: Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6. How many page faults would occur for the following replacement algorithms, assuming one, two, three, four, five, six, and seven frames? Remember that all frames are initially empty, so your first unique pages will cost one fault each. LRU replacement • FIFO replacement I • Optimal replacement Q5: Consider the following page reference string: 7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0, 1. Assuming demand paging with four frames, how many page faults would occur for the following replacement algorithms? • LRU replacement . • FIFO replacement Optimal replacement Q6: Explain what thrashing is. What is the negative effect that thrashing has? How do you avoid thrashing? Q4: Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6. How many page faults would occur for the following replacement algorithms, assuming one, two, three, four, five, six, and seven frames? Remember that all frames are initially empty, so your first unique pages will cost one fault each. LRU replacement • FIFO replacement I • Optimal replacement Q5: Consider the following page reference string: 7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0, 1. Assuming demand paging with four frames, how many page faults would occur for the following replacement algorithms? • LRU replacement . • FIFO replacement Optimal replacement Q6: Explain what thrashing is. What is the negative effect that thrashing has? How do you avoid thrashing?
Expert Answer:
Answer rating: 100% (QA)
Q4 One Frame LRU replacement 11 page faults FIFO replacement 11 page faults Optimal replacement 11 page faults Two Frames LRU replacement 10 page faul... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6 How many page faults would occur for the following replacement algorithms, assuming one, two,...
-
Consider the following time series: t 1 2 3 4 5 6 7 yt 120 110 100 96 94 92 88 A. Construct a time series plot. What type of pattern exists in the data? B. Use excel solver or lingo to find the...
-
Consider the following time series: t 1 2 3 4 5 Yt 6 11 9 14 15 a. Construct a time series plot. What type of pattern exists in the data? b. Use Excel Solver or LINGO to find the parameters for the...
-
This project requires the use of a Windows, Linux, or Mac computer that has Internet access. Using methods you learned in this chapter, find the answers to the following questions: 1 1 How is an IP...
-
What is the FASB conceptual framework project? Explain the benefit of this project to the practitioner.
-
The following T-accounts represent manufacturing cost flows for Lincoln Manufacturing Company for the year 2012. Required: 1. Identify the following amounts for 2012 from Lincoln's T-accounts: a....
-
Fraud deterrence is centered on the fear of getting caught and the fear of getting punished. In your opinion, which is stronger and why?
-
Supply the missing information in the following table for Blair Company. Sales ........... $484,000 ROI .......... ? Operating assets ...... ? Operating income ..... ? Turnover ......... 2.2 Residual...
-
Create a table in excel showing net present value calculation for the following scenario. You will have a column with time period, future value, and present value included. You can anticipate that...
-
Tiana White has just finished a meeting with Tina Garr, her vice president, when she runs into Mary Briones, a peer departmental manager, in the hallway. Mary. Youre frowning. Whats wrong? Tiana....
-
Explain the quantum well concept applied in nanoelectronics and give examples of practical materials to be applied in p-n junction devices.
-
Describe how a successful compensation system should be developed for a company
-
Apply effective communication, interpersonal, team and problem solving skills to address workplace issues while working as an HR. Why are theses skills are important. discuss their worth as a HR.
-
How can employers effectively manage moonlighting while also protecting their interests?
-
What is a methodology? Why we need to use methodology in dissertation?
-
What are some developmental and lifespan areas of interest that I should keep in mind when caring for a person with Diabetes mellitus?
-
The principle of the time value of money is probably the single most important concept in financial management. One of the most frequently encountered applications involves the calculation of a...
-
Keating & Partners is a law firm specializing in labour relations and employee-related work. It employs 25 professionals (5 partners and 20 managers) who work directly with its clients. The average...
-
How many device operations (for example, disk sector read () and write () operations) are required to add a released node to free list, where the free list is implemented with the linked-list...
-
Construct a C/C++ program for a UNIX environment to use the trapezoidal rule to approximate the integral of f(x) = 1/(x + 1) for the interval [0, 2]. Construct your solution so that you compute the...
-
Suppose processes P 0 and P 1 share variable V 2 , processes P 1 and P 2 share variable V 0 , and processes P 2 and P 3 share variable V 1 . In addition, P 0 , P 1 , and P 2 run concurrently. Write a...
-
The direct result of the process of transcription is the synthesis of a. DNA. b. RNA. c. a polypeptide. d. all of the above.
-
Many hotel jobs are inherently dead end; for example, maids, laundry workers, and valets, either have no great aspirations to move up, or are just using these jobs temporarily, for instance, to help...
-
Using what you learned in this chapter of Dessler Human Resource Management, build on the companys new system by recommending two more specific career development activities the hotel should...
Study smarter with the SolutionInn App