Operating System Mcqs

Page No. 66

A virtual memory system uses First In First Out (FIFO) page replacement policy and allocates a fixed number of frames to a process. Consider the following statements.
P : Increasing the number of page frames allocated to a process sometimes increases the page fault rate
Q : Some programs do not exhibit locality of reference Which of the following is TRUE?


aBoth P and Q are true, and Q is the reason for P

✖


bBoth P and Q are true, but Q is not the reason for P

✖


cP is false but Q is true

✓


dBoth P and Q are false

✖



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 ____________


aLRU

✖


bLFU

✖


cFIFO

✓


dNone of the mentioned

✖


View Answer FIFO

A process refers to 5 pages, A, B, C, D, E in the order : A, B, C, D, A, B, E, A, B, C, D, E. If the page replacement algorithm is FIFO, the number of page frames is increased to 4, then the number of page transfers ____________


adecreases

✖


bincreases

✓


cremains the same

✖


dnone of the mentioned

✖


View Answer increases

A process refers to 5 pages, A, B, C, D, E in the order : A, B, C, D, A, B, E, A, B, C, D, E. If the page replacement algorithm is FIFO, the number of page transfers with an empty internal store of 3 frames is?


a8

✖


b10

✖


c9

✓


d7

✖


View Answer 9

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


aOptimal replacement

✖


bLRU

✖


cFIFO

✓


dBoth optimal replacement and FIFO

✖


View Answer FIFO

The implementation of the LFU and the MFU algorithm is very uncommon because ____________


athey are too complicated

✖


bthey are optimal

✖


cthey are expensive

✓


dall of the mentioned

✖


View Answer they are expensive

What is the reason for using the MFU page replacement algorithm?


aan actively used page should have a large reference count

✖


ba less used page has more chances to be used again

✓


cit is extremely efficient and optimal

✖


dall of the mentioned

✖



What is the reason for using the LFU page replacement algorithm?


aan actively used page should have a large reference count

✓


ba less used page has more chances to be used again

✖


cit is extremely efficient and optimal

✖


dall of the mentioned

✖



The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by ____________


athe instruction set architecture

✓


bpage size

✖


cphysical memory size

✖


dnumber of processes in memory

✖



The essential content(s) in each entry of a page table is/are ____________


aVirtual page number

✖


bPage frame number

✓


cBoth virtual page number and page frame number

✖


dAccess right information

✖


View Answer Page frame number

Goto Page No.

Page 66 of 108

Alphabetical MCQs Categories
—

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"
—

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan