Generate a random reference string of length

Assignment Help JAVA Programming
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

Verified Expert

In this assignment Belady's anomaly of FIFO page replacement algorithm is simulated with a java program. A chart is displayed with the help of JFree chart. The chart demonstrates the Belady anomaly. The Belady anomaly says that the number of frames is inversely proportional to the number of frame. A reference string is generated numbered from 0 to 8 and the number of page faults occured in each frame sie varying from 1 to 10 is calculated. The number of faults calculated are taken into account and the graph is drawn

Reference no: EM131447112

Questions Cloud

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?

Reviews

len1447112

4/1/2017 2:24:28 AM

please do the work in java with commenting to understand the code I uploaded for you the assignment question and the lectures needed to look. So finally you will be submitting your code and the report. 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.

Write a Review

JAVA Programming Questions & Answers

  Implement java code for these sub-menu items

300581: Programming Techniques - Implement Java code for these sub-menu items -the program must display the complete library of movies to the screen in an appropriate readable format. Display the movie title, duration, genre, classification and rat..

  Print the name and number

Question is to print the name and number you entered in order either asked by name or number.

  Write a program to track their hotel occupancy for hotels

The Paris Hotels Company needs a computer program to track their hotel occupancy for the hotels in their chain. Write a Java program that calculates the occupancy rate for each floor of a hotel.

  Java program that asks the user for 100 values

Write a Java program that asks the user for 100 values (or generates these randomly) and stores and displays only the distinct values. Hint: use an array to store and display these values.

  Code blocks for java iterator

Write code blocks for Java Iterator for ArrayList and Set. Describe the differences.

  What are the three types of errors

What are the three types of errors that you can encounter in a Java program? Describe them, and explain how you would minimize the errors

  Program that translates a letter grade into a number grade

Write a Java program that translates a letter grade into a number grade

  What violations and crimes would you definitely file

What if you were a parole officer and had to decide whether or not to file complaints against your parolees? What violations and crimes would you definitely file complaints for and what would you most likely overlook and why?

  Calculate and display the total retail value of all products

Your application must calculate and display the total retail value of all products sold after all five pairs of inputs are completed - Write a Java application that prompts the user for pairs of inputs of a product number

  Create an interface called transcripts

You are going to create an interface called Transcripts with 2 methods: getGPA() and getTotalCredits(). Implement these methods in the Student class you created for Assignment

  Create simple java program that determine cost of insurance

Need to create a simple Java program that determines cost of insurance by including any additional person based on age (thus questions regarding age and how many people apply to each category as far as age should be included)

  How java enabled high performance

How Java enabled High Performance? Why Java is considered dynamic? List two Java IDE's? List some Java keywordsunlikeC, C + + keywords?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd