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

  How to store ten floating-point values into vector

How to store ten floating-point values into vector. Write down a program that declares a vector of ten floating-point values

  Write down the decimal equivalents for ieee floating point

Add the unsigned binary numbers then express the answer in decimal.

  What do you mean by pbx

take a call between a user in the company and another user out of the company who is connected to a traditional telephone network. What sort of technology is needed at the interface between the LAN and the traditional telephone network.

  Write down a simple c++ cash register program

The program must ask for the customer's first name and last name initials. Use 2 different variables, one for the first name and one for the last name.

  Network design will support dial-up

Justify whether or not your network design will support dial-up or VPN remote access using descriptions of the following aspects: the advantages and disadvantages of the remote access solution, network protocols that will be used on your network, ..

  Findout which statement provide required output

Findout which statement provide required output

  What are two long term benefits of e-scm

What are two market trends occurring in SCM (Supply Chain Management) industry.

  Find out for a well-known company

Review the code of ethics that you find for a well-known company. Based on research, analyze it to determine whether or not the company is complying with it.

  Define creating an exam object using java

define Creating an Exam Object using Java

  Identify the main elements of the us criminal

recognize the key elements of the US criminal justice system and explain how they relate to the job of the computer forensic investigator? Support the opinion or any arguments you may make.

  Programing the calculatepay

You are required to design a program known as “calculatePay” which will prompt a user for their hourly pay rate.

  Give a very small vb programing example of encapsulation

make a ""very small"" VB programing example of Encapsulation having two classes with a definition. Use VB code2003 to demonstrate. Please use new cars as this exapmle. Thanks, I need this by midnight.

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