Operating System Mcqs

Page No. 65

What are the two methods of the LRU page replacement policy that can be implemented in hardware?


aCounters

✖


bRAM & Registers

✖


cStack & Counters

✓


dRegisters

✖


View Answer Stack & Counters

For 3 page frames, the following is the reference string:
7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1
How many page faults does the LRU page replacement algorithm produce?


a10

✖


b15

✖


c11

✖


d12

✓


View Answer 12

LRU page – replacement algorithm associates with each page the ______


atime it was brought into memory

✖


bthe time of that page’s last use

✓


cpage after and before it

✖


dall of the mentioned

✖



Optimal page – replacement algorithm is difficult to implement, because ____________


ait requires a lot of information

✖


bit requires future knowledge of the reference string

✓


cit is too complex

✖


dit is extremely expensive

✖



What is the Optimal page – replacement algorithm?


aReplace the page that has not been used for a long time

✖


bReplace the page that has been used for a long time

✖


cReplace the page that will not be used for a long time

✓


dNone of the mentioned

✖



A FIFO replacement algorithm associates with each page the _______


atime it was brought into memory

✓


bsize of the page in memory

✖


cpage after and before it

✖


dall of the mentioned

✖



The aim of creating page replacement algorithms is to ____________


areplace pages faster

✖


bincrease the page fault rate

✖


cdecrease the page fault rate

✓


dto allocate multiple pages to processes

✖



When a page is selected for replacement, and its modify bit is set ____________


athe page is clean

✖


bthe page has been modified since it was read in from the disk

✖


cthe page is dirty

✖


dthe page has been modified since it was read in from the disk & page is dirty

✓



If no frames are free, _____ page transfer(s) is/are required.


aone

✖


btwo

✓


cthree

✖


dfour

✖


View Answer two

Users _______ that their processes are running on a paged system.


aare aware

✖


bare unaware

✓


cmay unaware

✖


dnone of the mentioned

✖


View Answer are unaware

Goto Page No.

Page 65 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