Question 21
EasyWhat is local page replacement?
- A.
Pages are replaced by the user
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
What is local page replacement?
Pages are replaced by the user
A process replaces only pages among its own frames
Any process can steal any frame
The OS replaces pages on the local disk only
Sign up free to see the answer and a step-by-step explanation.
Which factor has the biggest effect on the effective memory-access time in a demand-paging system?
The colour of the screen
The size of the keyboard buffer
The number of users
The page-fault rate
Sign up free to see the answer and a step-by-step explanation.
After the OS loads a missing page from disk, what happens next?
The page table is updated and the instruction that faulted is restarted
The process is terminated
The whole program starts again from the beginning
The page is immediately removed
Sign up free to see the answer and a step-by-step explanation.
Which page does the MRU (most recently used) policy replace?
The page used most recently
The oldest page
The page used least recently
The page with the smallest number
Sign up free to see the answer and a step-by-step explanation.
What is a memory-mapped file?
A file that contains a map
A file stored in the CPU
A file that cannot be opened
A file mapped into a process's virtual address space so it can be accessed like memory
Sign up free to see the answer and a step-by-step explanation.
What is pre-paging?
Printing pages before a meeting
Numbering pages in a book
Loading pages into memory before they are requested, in anticipation of their use
Deleting pages before use
Sign up free to see the answer and a step-by-step explanation.
What does virtual memory let a programmer assume?
That memory is unlimited and free
A large address space, even larger than physical memory
That no other program is running
That the disk is as fast as RAM
Sign up free to see the answer and a step-by-step explanation.
Using FIFO with 3 frames (initially empty), how many page faults occur for the reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2?
Enter a number as the answer.
Sign up free to see the answer and a step-by-step explanation.
Using LRU with 3 frames (initially empty), how many page faults occur for the reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2?
Enter a number as the answer.
Sign up free to see the answer and a step-by-step explanation.
Using the optimal algorithm with 3 frames (initially empty), how many page faults occur for the reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2?
Enter a number as the answer.
Sign up free to see the answer and a step-by-step explanation.