Category: operating system

operating system program in java

SJF shortest job first scheduling algorithm program in java

SJF shortest job first scheduling algorithm program in java

A different approach to CPU scheduling is SJF shortest job first scheduling algorithm.This associates with each process the length of the latter next CPU burst.When the CPU is available it is assigned to the...

fcfs first come first serve scheduling algorithm in java

fcfs first come first serve scheduling algorithm in java

first come first serve scheduling algorithm (FCFS) .with this schema the process that request the CPU First is allocated the CPU first.the Implementation of the first come first serve scheduling algorithm (FCFS) policy is...

round robin scheduling algorithm program in java

round robin scheduling algorithm program in java

Round robin Scheduling algorithm (RR) is designed especially for time sharing system.It is similar to FCFS scheduling,but preempted is added to switch between processes.A small unit of time called a time quantum is defined.a...

best fit program in java

best fit program in java

import java.io. * ; class best { public static void main(String args[]) throws IOException { int flag[] = new int[10]; int sm[] = new int[10]; int i, sr, nm; int sp, loc = 0;...