Question: Please use C, C++ or Java programming language to design+ A multiprogramming operating system uses paging. The available main memory is needs 215KB. The program

Please use C, C++ or Java programming language to design+ A multiprogramming operating system uses paging. The available main memory is needs 215KB. The program B needs 133KB. The program C needs 759KB. The program D needs 520KB. The program E needs 287KB. UserLloads program A.B.and exccutes them. User 2 loads program B, Cand executes. User3 loads program B, D, E and executes. These processes do not share memory.* a. How many frames are unused? t 4096KB, and each frame is 4KB. The program How much memory is wasted in internal fragmentation? c. If the system has only 1024KB main memory, at least how large the swap space is needed in hard disk to run all the programs?* d Ifa data locate in physical memory address Ox035738, whatis the frame number of this address? (hint: the size of frame/page is 4KB the physical memory address Ox000000 is the starting address of frame Ox000)+* e. One program contains two pages. After loading to the memory, the page Ox000 is mapped to frame 0x005, the page Ox001 mapped to frame 0x022. What is the physical memory address of the 4735th instruction (count from the beginning) in this program?*
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
