Question 1
Consider the virtual page reference string 1, 2, 3, 2, 4, 1, 3, 2, 4, 1 On a demand paged virtual memory system running on a computer system that main memory size of 3 pages frames which are initially empty. Let LRU, FIFO and OPTIMAL denote the number of page faults under the corresponding page replacements policy. Then
OPTIMAL < LRU < FIFO
OPTIMAL < FIFO < LRU
OPTIMAL = LRU
OPTIMAL = FIFO
Question 2
Question 3
Question 4
Question 5
Question 6
Question 7
Question 8
Page fault occurs when
When a requested page is in memory
When a requested page is not in memory
When a page is corrupted
When an exception is thrown
Question 9
Question 10
A computer uses 46âbit virtual address, 32âbit physical address, and a threeâlevel paged page table organization. The page table base register stores the base address of the firstâlevel table (T1), which occupies exactly one page. Each entry of T1 stores the base address of a page of the secondâlevel table (T2). Each entry of T2 stores the base address of a page of the thirdâlevel table (T3). Each entry of T3 stores a page table entry (PTE). The PTE is 32 bits in size. The processor used in the computer has a 1 MB 16 way set associative virtually indexed physically tagged cache. The cache block size is 64 bytes. What is the size of a page in KB in this computer?
2
4
8
16
There are 153 questions to complete.