Reference no: EM131447112
Belady's anamoly says you can (slide 17, Lecture 8) the number of page faults is not always inversely proportional to the number of frames.
In this assignment you will experiment on this.
Your tasks are:
1. Generate a random reference string of length 30, (each number of the string is between 0 to 8).
2. You initialize the frame size as 1.
3. Run FIFO page replacement algorithm.
4. Count the page fault.
5. Increase frame size to 2 and repeat steps 3 and 4.
6. You will repeat step 5 until the frame size is 10.
7. Draw a graph and show the relationship between number of frames vs number of page fault (similar to the graph of slide 17, lecture 8)
8. Report this graph along with its explanation in a word/pdf file.
So finally you will be submitting your code and the report.
Attachment:- Memory.rar
What was the cash flow to stockholders for the year
: The December 31, 2015, balance sheet of Schism, Inc., showed $146,000 in the common stock account and $2,710,000 in the additional paid-in surplus account. The December 31, 2016, balance sheet showed $156,000 and $3,010,000 in the same two accounts, ..
|
What was the firms cash flow to creditors
: The December 31, 2015, balance sheet of Schism, Inc., showed long-term debt of $1,385,000, and the December 31, 2016, balance sheet showed long-term debt of $1,550,000. The 2016 income statement showed an interest expense of $92,500. What was the fir..
|
Identify the most suitable definition of the industry
: A good way to identify the most suitable definition of the industry is to compare your company with other companies in the following key categories: types of suppliers; types of buyers; and processes by which value is added to your primary product..
|
Primary emphasis of each of groups in evaluating ratios
: Financial ratio analysis is conducted by managers, equity investors, long-term creditors, and short-term creditors. What is the primary emphasis of each of these groups in evaluating ratios?
|
Generate a random reference string of length
: COSC 3406 - Generate a random reference string of length 30 and Draw a graph and show the relationship between number of frames vs number of page fault.
|
Review the advice on good listening skills
: Message Strategies: Providing Routine Information. You are normally an easygoing manager who gives your employees a lot of leeway in using their own personal communication styles.
|
Integrated change management for project execution
: Describe effective integrated change management for project execution, monitoring, and control.
|
How would you plan for a companys divisional capabilities
: How would you plan for a company's divisional capabilities? How does one plan to address divisional limitations? What methods may be used to fill gaps between capabilities and limitations?What is the best strategy for addressing issues that may ar..
|
Zoe dental implements has gross property
: Zoe dental implements has gross property, plant and equipment totaling $1.4 million, depreciation expenses this year of $200,000 and accumulated depreciation of $750,000. What is the book value of Zoe's property, plant and equipment?
|