SINGLE USER CONTIGOUS SCHEME:
INPUT THE SIZE OF MEMORY
DISPLAY THE SIZE OF THE OS BY COMPUTING 20% OF THE MEMORY
INPUT THE NUMBER OF JOBS
EXAMPLE: IF THE NUMBER OF JOB IS ENTERED THE SCREEN WILL GIVE YOU AN OUTPUT LIKE THIS
JOB 1;
JOB 2;
JOB 3;
JOB 4;
SET THE FOLLOWING VALUE OF THE MEMORY REQUIREMENT OF EACH JOBS: 15,30,40,2
ASSUMING THE MEMORY SIZE IS 64MB
DISPLAY THE WASTED MEMORY FOR EACH JOBS AND THE AVERAGE WASTED MEMORY FOR ALL THE JOBS
DISPLAY THE PERCENTAGE OF ALL THE JOBS:
64-15=49 15 MEMORY USAGE
64-30=30 30 MEMORY USAGE
64-40=24 40 MEMORY USAGE
64-2=62 2 MEMORY USAGE