First-Fit Algorithm
1. Set Counter to 1
2. Do While counter <=number of blocks in memory
If job_size> memory_size(counter)
Then counter = counter + 1
else
load job into memory_size(counter)
adjuxt free/busy memory lists
go to step 4
3. Put job in waiting queue
4. Go fetch next job
kinsay ganahan mo lingaw2x ani mga guys!



 
			
			
 Java
 Java
				 
       
					
					
					
						 Reply With Quote
  Reply With Quote 
			 Originally Posted by _i.t_
 Originally Posted by _i.t_
					

 
			 
						
