Name: Ahsan Riaz Roll No: BCSF18M009
This program will stimulate the Multilevel feedback queue algorithm.
Minimum requirements are following:
The language used in my project is C++ programming language.
o Dev C++ or o Visual Studio 2019
• Windows 10 • Linux
Add Driver.cpp and MLFQ.h header file in your project and built the solution. Then compile and run the program. Just open the driver class and compile and run the program. (note MLFQ.h and Driver.cpp should be in same directory) There are 2 sources file named as:
- Driver.cpp
- MLFQ.h header
There are also 3 sample input files, input1.txt, input2.txt and input3.txt. We will use it in our main program to read data from file and run MLFQ algorithm on sample data.
• The main() function is written in my Drive.cpp file. • In main(), I create object of MLFQ, and call method setFileName(fileName); where filename is of string type. This method will set file name attribute in MLFQ class. That will load data from this filename. • Then we will call the start() method of MLFQ class object.