Recent questions tagged virtual-memory

2 2 votes
2 2 answers
132
132 views
Which of the following statements about virtual memory is correct?The LRU algorithm selects for replacement the page for which the longest time has elapsed since its last...
1 1 vote
1 1 answer
179
179 views
Consider a machine with:Physical memory $=8$ GBPage size $=8$ KBPage-table entry size $=4$ bytesVirtual address size $=46$ bitsEvery page table must fit into one pageHow ...
2 2 votes
1 1 answer
115
115 views
Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason RAssertion A: Thrashing occurs when a process spends more time on pagin...
1 1 vote
1 answers 1 answer
226
226 views
1 1 vote
2 2 answers
474
474 views
Consider the two-dimensional array A:int A[][] = new int[100][100];where A[0][0] is at location 200 in a paged memory system with pages of size 200. A small process that ...
0 0 votes
0 0 answers
199
199 views
Consider the page table for a system with 16-bit virtual and physical addresses and 4,096-byte pages.The reference bit for a page is set to 1 when the page has been ref- ...
0 0 votes
1 1 answer
192
192 views
Consider the page table for a system with 12-bit virtual and physical addresses and 256-byte pages.The list of free page frames is D, E, F (that is, D is at the head of t...
1 1 vote
0 0 answers
336
336 views
In a 32-bit machine we subdivide the virtual address into 4 pieces as follows:8-bit 4-bit 8-bit 12-bitWe use a 3-level page table, such that the first 8 bits are...
0 0 votes
1 1 answer
260
260 views
Match List I with List II$\begin{array}{|ll|ll|} \hline & \textbf{List I} & & \text{List II} \\ \hline \text{A.} & \text{Address Space} & \text{I.} & \text{Associative Ma...
1 1 vote
1 1 answer
388
388 views
If the virtual memory size is $32$ MB and a physical memory size is $4$ MB with a page size of $2$ KB, Calculate the number of frames available in physical memory$1024$$2...
0 0 votes
0 0 answers
210
210 views
Given as $4 \mathrm{~GB}\left(\approx 4.3 \times 10^{9}\right.$ bytes $)$ of virtual space and typical page size of $4$ KB and each page table entry is $5$ bytes. How man...
2 2 votes
0 0 answers
518
518 views
Assume that an OS uses a two-level page table setup with the following attributes: 32-bit address space, size of each PTE to be 4 bytes and page size of 4KB. Further, a p...