Open Access Open Access  Restricted Access Subscription Access

Developing Operating System Simulation Software for Windows Based System by C# .NET Framework and an Android Application by JAVA and XML

Abir Chandra Roy, Md. Abdullah Al Mamun, Khairat Hossin, Md. Ariful Islam, Md. Palash Uddin, Masud Ibn Afjal, Md. Sohrawordi



The academic course named operating system (OS) is very important for undergraduate students in computer science and engineering (CSE) related discipline. In this course, the teachers mainly deliver lectures on the fundamentals issues of OS, process scheduling, paging, deadlocks handling etc. In this paper, windows OS based desktop simulation software has been developed with a view to coordinating the teachers and students to conduct the OS course interactively. Also, the same simulator has been implemented as an application for android OS based devices. Simulation is divided into three parts on these applications. The first part is central processing unit (CPU) or process scheduling with first come first serve (FCFS), preemptive and non-preemptive shortest job first (SJF), priority scheduling (PR) and round robin (RR) algorithms. In this part of simulation, the applications will also compare the results of the simulations and find the best choice among them. Second is page fault counting on page replacement with first in first out (FIFO), least recently used (LRU) and optimal page replacement algorithms. Third is deadlock handling through banker’s algorithm. The main aim for developing such tools is to minimize the time for checking the results on various inputs for several algorithms than to find them manually. The output measures are helpful for better understanding for both teachers and students. Though several simulation tools presently exist, this paper introduces several diffident types of simulations on a single application and that is the best part of this simulation. Moreover, the applications will give comparison on various algorithms, by which students or teachers will be able to decide easily which algorithm is best for the given inputs.

Keywords: CPU scheduling, process scheduling, OS simulation, page replacement, FCFS, SJF, RR, FIFO, LRU, deadlock handling

Cite this Article

Abir Chandra Roy, Md. Abdullah Al Mamun, Md. Palash Uddin et al. Developing Operating System Simulation Software for Windows Based System by C# .NET Framework and an Android Application by JAVA and XML. Journal of Operating Systems Development & Trends. 2017; 4(1): 9–18p.


CPU Scheduling, Process Scheduling, OS Simulation, Page Replacement, FCFS, SJF, RR, FIFO, LRU, Deadlock Handling

Full Text:



Silberschatz A, Peterson JL, Galvin PB. Operating System Concepts. 7th Edition. Addison Wesley; 2006.

Oren T. The many facets of simulation through a collection of about 100 definitions. SCS M&S Magazine. 2011; 82-92.

Pidd M, Carvalho A. Simulation software: not the same yesterday, today or forever. Journal of Simulation. 2006; 1(2):7-20.

Sultan Almakdi, Mohammed Aleisa, Mohammed Alshehri. Simulation and Performance Evaluation of CPU Scheduling Algorithms. International Journal of Advanced Research in Computer and Communication Engineering. 2015; 4(3).

Raman and Pardeep Kumar Mittal. An Efficient Dynamic Round Robin CPU Scheduling Algorithm. International Journal of Advanced Research in Computer Science and Software Engineering. 2014.

Suranauwarat S. The Design and Development of a CPU Scheduling Algorithm Simulator. Proc. of 12th WSEAS International Conference on Applied Computer Science. 2012. Singapore. 164-170.

Salih HM, Fadil YA. CPU Scheduling Simulation. Diyala Journal of Engineering Sciences. 2009; 2(2):39-52.

Suranauwarat S. A CPU scheduling algorithm simulator. 37th IEEE Annual Frontiers in Education Conference - Global Engineering: Knowledge without Borders, Opportunities without Passport. 2007; Milwaukee, West Indies.

Saleem U. and Javed M.Y. Simulation of CPU scheduling algorithms, IEEE Tencon Proceedings, 2000; Kuala Lumpur, Malaysia.

Dumitrescu CL, Foster I. GangSim: a simulator for grid scheduling studies. IEEE International Symposium on Cluster Computing and the Grid. 2005; Cardiff, United Kingdom.

Casanova H. Simgrid: a toolkit for the simulation of application scheduling, First Proceedings of IEEE/ACM International Symposium on Cluster Computing and the Grid, 2001; Brisbane, Australia.

Nitu A.M., Uddin M.P., Islam M.M., and Islam M.S. Developing a Simple, Interactive and Easy Simulation Tool for The Teachers/Undergrad Students with a view to Teaching/Learning CPU Scheduling Algorithms. J. Innov. Dev. Strategy. 2015.


  • There are currently no refbacks.