Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Practice Problems. How do you go about to get anwser? 1) A process of a system h

ID: 3534458 • Letter: P

Question

Practice Problems. How do you go about to get anwser? 1) A process of a system has a virtual memory space of 2048 words or addresses with a page size of 32 words. There are 8 blocks in the main memory with 16 words per block. How many blocks in a virtual page? 2) A system has a virtual memory space of 8 virtual pages for a process with 8 blocks per page and 4 words per block. The main memory consists of 4 page frames with 4 blocks per page and 8 words per block. How many words are required for virtual memory? 3) A system has a virtual memory space of 8 virtual pages for a process with 4 blocks per page and 8 words per block. The main memory consists of 32 page frames with 4 blocks per page and 8 words per block. How many bits are required to reference a page frame? 4) A system has a virtual memory space of 8 virtual pages for a process with 4 blocks per page and 8 words per block. The main memory consists of 8 page frames with 4 blocks per page and 8 words per block. How many words are required for physical memory? 5) A process of a system has a virtual memory space of 2048 words or addresses with a page size of 64 words. There are 32 blocks in the main memory with 16 words per block. How many bits are required for each physical address? 6) A system has a virtual memory space of 8 virtual pages for a process with 4 blocks per page and 8 words per block. The main memory consists of 4 page frames with 4 blocks per page and 8 words per block. How many bits are required to reference a virtual page? 7) A process of a system has a virtual memory space of 4096 words or addresses with a page size of 64 words. There are 16 blocks in the main memory with 16 words per block. How many page frames does physical memory have? 9) A system implements a paged virtual address space for each process using a one-level page table. It requires 24 bits for referencing a virtual address and 20 bits for referencing a physical address. It also requires 14 bits to reference a virtual page and 10 bits to reference a page frame. The page table for the running process includes the following valid entries (the --> notation indicates that a virtual page maps to the given page frame, that is, it is located in that frame): Virtual page 2

Explanation / Answer

I am giving you the concept. You can work out the mathematics.


Please rate with 5 stars :)


Say , the page size = p

Also , say the virtual memory size = s


Therefore the number of pages in the virtual memory = s/p


Apply the same concept for the physical memory as well and find the unknowns in each case.


Note: Always remember that you find the numberof pages by the memory size divided by the page size.


Cheers!

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote