Consider $6$ memory partitions of sizes $200$ $\text{KB}$, $400$ $\text{KB}$, $600$ $\text{KB}$, $500$ $\text{KB}$, $300$ $\text{KB}$and $250$ $\text{KB}$, where $\text{KB}$refers to $\text{kilobyte}$. These partitions need to be allotted to four processes of sizes $357$ $\text{KB}$, $210$ $\text{KB}$, $468$ $\text{KB}$, $491$ $\text{KB}$in that order. If the best-fit algorithm is used, Amount of internal and external fragmentation occurs is?
I am getting internal fragmentation as 124 KB, whereas nothing can be say about external fragmentation as we don't know what will be the size of the next coming process. And external fragmentation can only be calculated when we have the information about free memory slots and the process size whose size must be greater than Max free slot size.
Someone verify it.