Operating System Mcqs

Page No. 15

Semaphores are mostly used to implement ____________


aSystem calls


bIPC mechanisms


cSystem protection


dNone of the mentioned


View Answer IPC mechanisms

A binary semaphore is a semaphore with integer values ____________


a1


b-1


c0.8


d0.5


View Answer 1

At a particular time of computation the value of a counting semaphore is 7.Then 20 P operations and 15 V operations were completed on this semaphore. The resulting value of the semaphore is? (GATE 1987)


a42


b2


c7


d12


View Answer 2

What is a mutex?


ais a binary mutex


bmust be accessed from only one process


ccan be accessed from multiple processes


dnone of the mentioned



What are the two kinds of semaphores?


amutex & counting


bbinary & counting


ccounting & decimal


ddecimal & binary


View Answer binary & counting

What is a semaphore?


ais a binary mutex


bmust be accessed from only one process


ccan be accessed from multiple processes


dnone of the mentioned



What will happen if a non-recursive mutex is locked more than once?


aStarvation


bDeadlock


cAging


dSignaling


View Answer Deadlock

A deadlock free solution to the dining philosophers problem ____________


anecessarily eliminates the possibility of starvation


bdoes not necessarily eliminate the possibility of starvation


celiminates any possibility of any kind of problem further


dnone of the mentioned



The dining – philosophers problem will occur in case of ____________


a5 philosophers and 5 chopsticks


b4 philosophers and 5 chopsticks


c3 philosophers and 5 chopsticks


d6 philosophers and 5 chopsticks



To ensure difficulties do not arise in the readers – writers problem _______ are given exclusive access to the shared object.


areaders


bwriters


creaders and writers


dnone of the mentioned


View Answer writers

Goto Page No.

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