Question: Operating systems Consider a computer that uses 16-bit addresses, ranging from 0 to 64K. The computer only has 32 KB of physical memory. Thus, programs
Consider a computer that uses 16-bit addresses, ranging from 0 to 64K. The computer only has 32 KB of physical memory. Thus, programs can be written that use up to 64 KB of memory, but the programs cannot be loaded into memory in their entirety and run. A complete copy of a program's core image, up to 64 KB, must be present on the disk to allow pieces to be brought in as needed. a.) Assume the computer is using 4K pages. Of the 16-bits that hold an address, how many of them will be used for the page number and how many bits for the offset? b.) For each of the following decimal virtual addresses, compute the virtual page number and offset for a 4-KB page: 20000, 32768, 54000, 60000. turnin: c.) Repeat part a.) assuming 8K pages are being used. turnin: d.) Repeat part b.) assuming 8K pages are being used
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
