Give the average frame replacements for each

Assignment Help Computer Engineering
Reference no: EM1335317

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: EM1335317

Questions Cloud

Discuss possible ways to improve service quality : Discuss possible ways to improve service quality in a custodial janitorial company specializing in contract maintenance of office space.
Response to the future of criminal justice : Why is terrorism a Law Enforcement concern? How is terrorism a crime?
Attributes of high-performing project teams : What would you consider the attributes of high-performing project teams?
Workplace and sexual harassment : Workplace and Sexual Harassment - Need some assistance in answering the following questions in regards to a mini case study involving harassment.
Give the average frame replacements for each : you would 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..
Difference among national income-gross national product : Illustrate what is the difference among National Income, Gross National Product, and Gross Domestic Product? Why do most countries now use GDP as a measure of national output?
Calculate the percent change in real gdp : Calculate the percent change in real GDP
Positive or negative incentive to improve situation : What kind of positive or negative incentive could have improved this situation?
Virtual worker versus the traditional worker : With so much information available, is there a difference in how much information needs to be provided to the virtual worker versus the traditional worker? If so, explain how.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Documentation needed to support maintenance activities

Why are additional personnel generally required during the later stages of the system implementation.

  Write a program displays the sum, average, product

Write down a Visual Basic application that inputs three integers from the user and displays the sum, average, product, smallest and largest of the numbers in an information message dialog.

  What is the role of the project sponsor

be sure that you briefly describe why each of the listed tasks is critical to the success of the project and how each of the listed skills helps the project manager.

  Define the concept of object orientation

decribe the concept of object orientation and Universal Modeling Language (UML) as used in computer programming.

  Can a relation be stored as a sequential file

Can a relation be stored as a sequential file

  Write a function called is_anagram

Write a function called is_anagram.

  Discuss various types of dbmss

Discuss differences among data, information, and knowledge.

  Program that prints to screen results of dividing 23 by 5

create a program, using C++ that prints to screen the results of dividing 23 by 5, where 23 and 5 are ints. Provide the results of what was printed to screen via comments in the program ; need in hardcopy.

  What to recommend as a method of change

Contemporary organizations should be supportive of widening the span of control, flattening structure, and forming collaborative and flexible teams.

  Explain how is visual basic .net different

Search for information about .NET. What is it? Read articles on Visual Basic .NET. Why do you think students should learn Visual Basic .NET? How would it be useful for students?

  Exploring substantial component of information security

Explain the weaknesses in the controls? Specify whether there exist any new or upgraded access controls being considered? Let us explore this substantial component of the information security.

  Inheritance is a method in object-oriented programming

Inheritance is a method in object-oriented programming that you derive new classes from existing classes in your code.

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