Calculate the number of page faults using replacement algo

Assignment Help Data Structure & Algorithms
Reference no: EM13950676

For this assignment, you will create a program that automatically generates numbers between a range provided by the user and stores them in an array. Your program will then calculate the number of page faults using replacement algorithms and provide the average frame replacements for each.

STEPS

1. Write a program using C++ or Java that will automatically generate x numbers between a range provided by the user?for purposes of this assignment, the range can be 1-20?and store them in an array.

2. Your program should then calculate the number of page faults using an LRU, FIFO and optimal replacement algorithm using 1-20 frames individually. Verify the results before moving on.

3. Your program should then execute this process for inputs 1-20 for the range at least 100 times automatically and generate 1,000 numbers each time.

4. The program should test for 1, 5, 10 , 15 and 20 frames each time, using LRU, FIFO and optimal replacement algorithm, providing the average frame replacements for each.

Reference no: EM13950676

Questions Cloud

The most basic concept of kant ethics is truth : The most basic concept of Kant's ethics is truth. Immanuel Kant revised Bentham's ideas by arguing for the importance of differences in the type, kind, or quality of pleasures and pains that follow from actions
Prepare determination of excess schedul schedule for cipher : Prepare the determination and distribution of excess schedule for Cipher Corporation's purchase of Doer Company common stock on January 1, 20X3.
What is the probability that male student was born in miami : A poll was taken to determine the birthplace of a class of college students. Below is a chart of the results. What is the probability that a female student was born in Orlando?
Which of the following is good example of product placement : Which of the following is a good example of product placement? Lists several ways that the media can deliberately mislead us. Which of the following is not one of the ways mentioned
Calculate the number of page faults using replacement algo : The program should test for 1, 5, 10 , 15 and 20 frames each time, using LRU, FIFO and optimal replacement algorithm, providing the average frame replacements for each.
Making financial business decisions : For this Assignment you will create a PowerPoint® presentation based on your "purchase" of a restaurant. The following information is to be used to create this presentation.
Determine the steam quality at the turbine exit : For T 5 808F, determine the steam quality at the turbine exit, the steam mass flow rate, in lb/h, and the thermal efficiency. Plot the quantities of part (a) versus T ranging from 80 to 1058F.
Determine the length of the string : You must give your user three opportunities for wrong input before you terminate the program.
Prepare any adjustment needed to the investment account : Prepare any adjustment needed to the investment account as a result of the July, 1, 20X8, acquisition. Prepare the worksheet necessary to produce the consolidated ?nancial statements of Titan Corporation.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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