In this paper we decided to use the Simulation approach of algorithm evaluation to simulate CPU scheduling algorithms,since this approach gives more accurate evaluation of scheduling algorithms compared to the others discussed above.The data to drive the simulation is generated using a random-number generator which is programmed to generate processes,