Tag: conio

C Program for FCFS CPU scheduling algorithm

Under Category : Other Circuits

OUTPUT: enter no of processes: 5 enter process1 name: aaa enter process time: 4 enter process2 name: bbb enter process time: 3 enter process3 name: ccc enter process time: 2 enter process4 name: ddd enter process time: 5 enter process5 name: eee enter process time: 1 p_name  P_time  w_time aaa    4    0 bbb    3    4 [...]

Read More »

Program for FIFO page replacement algorithm

Under Category : Other Circuits

OUTPUT : 2 -1 -1 2  3 -1 2  3 -1 2  3  1 5  3  1 5  2  1 5  2  4 5  2  4 3  2  4 3  2  4 3  5  4 3  5  2 Number of page faults  : 6 1 2 3 4 5 6 7 8 9 10 11 [...]

Read More »