Basic Computer Knowledge Test Questions and Answers

Virtual Memory Demand Paging - Operating System Questions & Answers

1.

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

Answer: Option 'C'

the effective access time decreases

2.

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

Answer: Option 'C'

(1-p) x ma + p x page fault time

3.

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

Answer: Option 'B'

a page fault occurs for every page brought into memory

4.

When a page fault occurs, the state of the interrupted process is :

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

Answer: Option 'B'

saved

5.

The valid – invalid bit, in this case, when valid indicates :

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

Answer: Option 'A'

the page is in memory

6.

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

Answer: Option 'B'

a page cannot be accessed due to its absence from memory

7.

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

Answer: Option 'A'

execution of a process that may not be completely in memory

8.

The instruction being executed, must be in :

   A.) physical memory
   B.) logical memory
   C.) physical & logical memory
   D.) none of the mentioned

Answer: Option 'A'

physical memory

9.

Error handler codes, to handle unusual errors are :

   A.) almost never executed
   B.) executed very often
   C.) executed periodically
   D.) none of the mentioned

Answer: Option 'A'

almost never executed

10.

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

Answer: Option 'D'

All of the mentioned

Virtual Memory Demand Paging - Operating System Questions & Answers Download Pdf

Recent Posts