Operating System Mcqs

Page No. 16

In the bounded buffer problem ____________


athere is only one buffer


bthere are n buffers ( n being greater than one but finite)


cthere are infinite buffers


dthe buffer size is bounded



In the bounded buffer problem, there are the empty and full semaphores that ____________


acount the number of empty and full buffers


bcount the number of empty and full memory spaces


ccount the number of empty and full queues


dnone of the mentioned



The bounded buffer problem is also known as ____________


aReaders – Writers problem


bDining – Philosophers problem


cProducer – Consumer problem


dNone of the mentioned



If no process is suspended, the signal operation ____________


aputs the system into a deadlock state


bsuspends some default process execution


cnothing happens


dthe output is unpredictable


View Answer nothing happens

Which is the process of invoking the wait operation?


asuspended until another process invokes the signal operation


bwaiting for another process to complete before it can itself call the signal operation


cstopped until the next process in the queue finishes execution


dnone of the mentioned



What are the operations that can be invoked on a condition variable?


await & signal


bhold & wait


csignal & hold


dcontinue & signal


View Answer wait & signal

The monitor construct ensures that ____________


aonly one process can be active at a time within the monitor


bn number of processes can be active at a time within the monitor (n being greater than 1)


cthe queue has only one process in it at a time


dall of the mentioned



A procedure defined within a ________ can access only those variables declared locally within the _______ and its formal parameters.


aprocess, semaphore


bprocess, monitor


csemaphore, semaphore


dmonitor, monitor


View Answer monitor, monitor

A monitor is characterized by ____________


aa set of programmer defined operators


ban identifier


cthe number of variables in it


dall of the mentioned



A monitor is a type of ____________


asemaphore


blow level synchronization construct


chigh level synchronization construct


dnone of the mentioned



Goto Page No.

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