Reference no: EM1380195
For this project, 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. Create a program using C++ or Java that will automatically generate x numbers between a range provided by the user? For purposes of this project, 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.
Refresh address counter
: A microcomputer memory is built from 64K X 1 DRAM, with DRAM cell array organized into 256 rows. Each row requires being refreshed at least once every four ms, strictly on a periodic basis.
|
Analysis of the vehicle component
: Analysis of the vehicle component: role, work conditions, requirements for the role and
|
Creating an interactive java program
: Create an interactive Java program that illustrates the use of constructors, methods, loops and arrays.
|
Question about character array
: The 2-most important design issues that are specific to character string types are the given, Should strings be simply a special kind of character array or a primitive type?
|
Create a program using c++
: Create a program using C++ or Java that will automatically generate x numbers between a range provided by the user? For purposes of this project, the range can be 1-20 and store them in an array.
|
Question about character array
: The 2-most important design issues that are specific to character string types are the given, Should strings be simply a special kind of character array or a primitive type?
|
Homogeneous array
: Assume that a homogeneous array with six rows and eight columns, is stored in row major order starting at address 20. If each entry in the array requires only one memory cell.
|
How can co-operation and trust be fostered
: How can co-operation and trust be fostered between partners in the supply chain
|
Creating algorithm to implement function
: Create an Algorithm to implement the given function and explain how the required task can be achieved in a step by step process.
|