Filters
Question type

Study Flashcards

If the memory access time is denoted by 'ma' and 'p' is the probability of a page fault (0 <= p <= 1) . Then the effective access time for a demand paged memory is


A) p x ma + (1-p) x page fault time
B) ma + page fault time
C) (1-p) x ma + p x page fault time
D) none of the mentioned

Correct Answer

verifed

verified

When using counters to implement LRU, we replace the page with the___________


A) smallest time value
B) largest time value
C) greatest size
D) none of the mentioned

Correct Answer

verifed

verified

A

A process is thrashing if___________


A) it is spending more time paging than executing
B) it is spending less time paging than executing
C) page fault occurs
D) swapping can not take place

Correct Answer

verifed

verified

When a page fault occurs, the state of the interrupted process is___________


A) disrupted
B) invalid
C) saved
D) none of the mentioned

Correct Answer

verifed

verified

When a process begins execution with no pages in memory?


A) process execution becomes impossible
B) a page fault occurs for every page brought into memory
C) process causes system crash
D) none of the mentioned

Correct Answer

verifed

verified

A swapper manipulates___________         whereas the pager is concerned with individual___________of a process.


A) the entire process, parts
B) all the pages of a process, segments
C) the entire process, pages
D) none of the mentioned

Correct Answer

verifed

verified

C

A page fault occurs when?


A) a page gives inconsistent data
B) a page cannot be accessed due to its absence from memory
C) a page is invisible
D) all of the mentioned

Correct Answer

verifed

verified

B

Locality of reference implies that the page reference being made by a process


A) will always be to the page used in the previous page reference
B) is likely to be one of the pages used in the last few page references
C) will always be one of the pages existing in memory
D) will always lead to page faults

Correct Answer

verifed

verified

A memory page containing a heavily used variable that was initialized very early and is in constant use is removed, then the page replacement algorithm used is___________


A) lru
B) lfu
C) fifo
D) none of the mentioned

Correct Answer

verifed

verified

A FIFO replacement algorithm associates with each page the___________


A) time it was brought into memory
B) size of the page in memory
C) page after and before it
D) all of the mentioned

Correct Answer

verifed

verified

LRU page - replacement algorithm associates with each page the___________  


A) time it was brought into memory
B) the time of that page's last use
C) page after and before it
D) all of the mentioned

Correct Answer

verifed

verified

The ability to execute a program that is only partially in memory has benefits like


A) the amount of physical memory cannot put a constraint on the program
B) programs for an extremely large virtual space can be created
C) throughput increases
D) all of the mentioned

Correct Answer

verifed

verified

When the page fault rate is low


A) the turnaround time increases
B) the effective access time increases
C) the effective access time decreases
D) turnaround time & effective access time increases

Correct Answer

verifed

verified

What is the Optimal page - replacement algorithm?


A) replace the page that has not been used for a long time
B) replace the page that has been used for a long time
C) replace the page that will not be used for a long time
D) none of the mentioned

Correct Answer

verifed

verified

Which of the following page replacement algorithms suffers from Belady's Anomaly?


A) optimal replacement
B) lru
C) fifo
D) both optimal replacement and fifo

Correct Answer

verifed

verified

There is a set of page replacement algorithms that can never exhibit Belady's Anomaly, called___________


A) queue algorithms
B) stack algorithms
C) string algorithms
D) none of the mentioned

Correct Answer

verifed

verified

Virtual memory is normally implemented by___________  


A) demand paging
B) buses
C) virtualization
D) all of the mentioned

Correct Answer

verifed

verified

Users___________that their processes are running on a paged system.


A) are aware
B) are unaware
C) may unaware
D) none of the mentioned

Correct Answer

verifed

verified

Virtual memory allows___________


A) execution of a process that may not be completely in memory
B) a program to be smaller than the physical memory
C) a program to be larger than the secondary storage
D) execution of a process without being in physical memory

Correct Answer

verifed

verified

The valid - invalid bit, in this case, when valid indicates?


A) the page is not legal
B) the page is illegal
C) the page is in memory
D) the page is not in memory

Correct Answer

verifed

verified

Showing 1 - 20 of 24

Related Exams

Show Answer