given three subroutines of 700, 200, and 500 words each, if segmentation is used
ID: 440373 • Letter: G
Question
given three subroutines of 700, 200, and 500 words each, if segmentation is used then the total memory needed is the sum of the three sizes ( if all three routines are loaded). however if paging is used then some storage space is lost because subroutines rarely fill the last page completely and that results in internal fragmentation. determine the total amount of wasted memory due to internal fragmentation when the three subroutines are loaded into memory using each of the following page sizes: a. 100 words b. 600 words c. 700 words d. 900 words example: the answer for A is (please provide same for b, c ,d Subroutine Needs Internal Fragmentation. S1 with 700 words 7 pages of 100 words 0 words S2 with 200 words 2 pages of 100 words 0 words S3 with 500 words 5 pages of 100 words 0 words Total 0 wordsExplanation / Answer
Refer this
http://www.reocities.com/CollegePark/pool/7747/chapter_3b.htm
Let A be the 700 word subroutine. Let B be the 200 word subroutine. Let C be the 500 word subroutine. Let an underscore "_" represent wasted space.
200 words of memory are wasted due to internal fragmentation.
600 words are lost due to internal fragmentation.
1000 words are lost due to internal fragmentation.
700 words lost due to internal fragmentation.
100 word boxes A A A A A A A _ B B C C C C C _Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.