Operating System Mcqs

Page No. 69

Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For LRU page replacement algorithm with 4 frames, the number of page faults is?


a10

✓


b14

✖


c8

✖


d11

✖


View Answer 10

If the sum of the working – set sizes increases, exceeding the total number of available frames ____________


athen the process crashes

✖


bthe memory overflows

✖


cthe system crashes

✖


dthe operating system selects a process to suspend

✓



If working set window is too large ____________


ait will not encompass entire locality

✖


bit may overlap several localities

✓


cit will cause memory problems

✖


dnone of the mentioned

✖



If working set window is too small ____________


ait will not encompass entire locality

✓


bit may overlap several localities

✖


cit will cause memory problems

✖


dnone of the mentioned

✖



The accuracy of the working set depends on the selection of ____________


aworking set model

✖


bworking set size

✓


cmemory size

✖


dnumber of pages in memory

✖


View Answer working set size

In the working set model, for:
2 6 1 5 7 7 7 7 5 1 6 2 3 4 1 2 3 4 4 4 3 4 3 4 4 4 1 3 2 3
if DELTA = 10, then the working set at time t1 (….7 5 1) is?


a{1, 2, 4, 5, 6}

✖


b{2, 1, 6, 7, 3}

✖


c{1, 6, 5, 7, 2}

✓


d{1, 2, 3, 4, 5}

✖


View Answer {1, 6, 5, 7, 2}

A program is generally composed of several different localities, which _____ overlap.


amay

✓


bmust

✖


cdo not

✖


dmust not

✖


View Answer may

When a subroutine is called ____________


ait defines a new locality

✓


bit is in the same locality from where it was called

✖


cit does not define a new locality

✖


dnone of the mentioned

✖



What is a locality?


aa set of pages that are actively used together

✓


ba space in memory

✖


can area near a set of processes

✖


dnone of the mentioned

✖



Thrashing _______ the CPU utilization.


aincreases

✖


bkeeps constant

✖


cdecreases

✓


dnone of the mentioned

✖


View Answer decreases

Goto Page No.

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