Operating System Mcqs

Page No. 20

For non sharable resources like a printer, mutual exclusion ____________


amust exist


bmust not exist


cmay exist


dnone of the mentioned


View Answer must exist

Deadlock prevention is a set of methods ____________


ato ensure that at least one of the necessary conditions cannot hold


bto ensure that all of the necessary conditions do not hold


cto decide if the requested resources for a process have to be given or not


dto recover from a deadlock



For a Hold and wait condition to prevail ____________


aA process must be not be holding a resource, but waiting for one to be freed, and then request to acquire it


bA process must be holding at least one resource and waiting to acquire additional resources that are being held by other processes


cA process must hold at least one resource and not be waiting to acquire additional resources


dNone of the mentioned



For Mutual exclusion to prevail in the system ____________


aat least one resource must be held in a non sharable mode


bthe processor must be a uniprocessor rather than a multiprocessor


cthere must be at least one resource in a sharable mode


dall of the mentioned



For a deadlock to arise, which of the following conditions must hold simultaneously?


aMutual exclusion


bNo preemption


cHold and wait


dAll of the mentioned


View Answer All of the mentioned

What are Multithreaded programs?


alesser prone to deadlocks


bmore prone to deadlocks


cnot at all prone to deadlocks


dnone of the mentioned



The request and release of resources are ___________


acommand line statements


binterrupts


csystem calls


dspecial programs


View Answer system calls

The number of resources requested by a process ____________


amust always be less than the total number of resources available in the system


bmust always be equal to the total number of resources available in the system


cmust not exceed the total number of resources available in the system


dmust exceed the total number of resources available in the system



The content of the matrix Need is ____________


aAllocation – Available


bMax – Available


cMax – Allocation


dAllocation – Max


View Answer Max – Allocation

The data structures available in the Banker’s algorithm are ____________


aAvailable


bNeed


cAllocation


dAll of the mentioned


View Answer All of the mentioned

Goto Page No.

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