Skip to content

plmpradeep/Best-Fit-and-First-Fit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Best-Fit-and-First-Fit

Purpose:  To enter 2 arrays (memory request and partition),assign memory requests to partitions using First Fit and Best Fit memory management ,Display first address assigned , last address assigned and internal fragmentation. Display all unassigned requests as “Not assigned”.

Input:  5 integers for memory partition array and 5 integers for memory request array.

Preconditions:  Only integers should be used for memory partition and memory request

Output:  First address ,last address, internal fragmentation and unassigned request will be displayed for first fit and best fit

Postconditions:  Memory requests are allotted only if all numbers are positive integers

Releases

No releases published

Packages

No packages published

Languages