Experiment3 Memory Management
Experiment3 Memory Management
MFT (Multiprogramming with a Fixed number of Tasks) is one of the old memory management
techniques in which the memory is partitioned into fixed size partitions and each job is
technique in which each job gets just the amount of memory it needs. That is, the
partitioning of memory is dynamic and changes as jobs enter and leave the system.
MVT is a more efficient user of resources. MFT suffers from the problem of internal
#include <stdio.h>
#include <conio.h>
main() {
int i, p = 0;
clrscr();
scanf("%d", &ms);
scanf("%d", &bs);
nob = ms / bs;
EXPERIMENT 3
ef = ms - nob * bs;
scanf("%d", &n);
scanf("%d", &mp[i]);
printf("\n%d\t\t%d", i + 1, mp[i]);
printf("\t\tNO\t\t---");
else {
printf("\t\tYES\t\t%d", bs - mp[i]);
p++;
getch();