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.
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.
This solution provides a program that will automatically generate numbers.