Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

( 10%) A multiprogramming operating system uses paging. The available memory is 4096KB, and each frame is 4KB. The program A needs 359KB. The program

image text in transcribed

( 10%) A multiprogramming operating system uses paging. The available memory is 4096KB, and each frame is 4KB. The program A needs 359KB. The program B needs 111KB. The program C needs 987KB. The program D needs 234KB. The program E needs 577KB. User 1 loads program A, B and executes them. User 2 loads program B, C and executes. User 3 loads program B, D, E and executes. a. How many frames are unused? b. How much memory is wasted in internal fragmentation? c. If the system has only 1024KB, at least how large the swap space is needed in hard disk to run all the programs? If a data locate in physical memory address 0x035738, what is the frame number of this address? (hint: the size of frame/page is 4KB, the physical memory address 0x000000 is the starting address of frame 0x000) One program contains two pages. After loading to the memory, the page 0x000 is mapped to frame 0x005, the page 0x001 mapped to frame 0x022. What is the physical memory address of the 4735th instruction (count from the beginning) in this program? d. e

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions