MCQOPTIONS
 Saved Bookmarks
				This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Operating System Questions & Answers Virtual Memory Demand Paging knowledge and support exam preparation. Choose a topic below to get started.
| 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» D. turnaround time & effective access time increases | |
| 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» D. none of the mentioned | |
| 3. | 
                                    When a page fault occurs, the state of the interrupted process is ____________ | 
                            
| A. | disrupted | 
| B. | invalid | 
| C. | saved | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 4. | 
                                    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 | 
| Answer» D. the page is not in memory | |
| 5. | 
                                    Using a pager ____________ | 
                            
| A. | increases the swap time | 
| B. | decreases the swap time | 
| C. | decreases the swap time & amount of physical memory needed | 
| D. | increases the amount of physical memory needed | 
| Answer» D. increases the amount of physical memory needed | |
| 6. | 
                                    Segment replacement algorithms are more complex than page replacement algorithms because ____________ | 
                            
| A. | Segments are better than pages | 
| B. | Pages are better than segments | 
| C. | Segments have variable sizes | 
| D. | Segments have fixed sizes | 
| Answer» D. Segments have fixed sizes | |
| 7. | 
                                    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» E. | |
| 8. | 
                                    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» B. executed very often | |
| 9. | 
                                    The instruction being executed, must be in ____________ | 
                            
| A. | physical memory | 
| B. | logical memory | 
| C. | physical & logical memory | 
| D. | none of the mentioned | 
| Answer» B. logical memory | |
| 10. | 
                                    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» B. a program to be smaller than the physical memory | |