Menu

Question Discussion & Solution

MCQ
Q.
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)

forum Community Discussion

speaker_notes_off

No discussions yet. Be the first to start!

You must be logged in to participate in the discussion.

login Login to Discuss

auto_awesome Similar Questions

MCQ
1.
A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 requires 10 tape drives, P1 requires 4 and P2 requires 9 tape drives.
Process    
P0            
P1                             
P2                             
 
Maximum needs (process-wise: P0 through P2 top to bottom)    
10             
4   
9
 
Currently allocated (process-wise)
5
2
2
Which of the following sequence is a safe sequence?
forum Discussion
MCQ
2.
To ensure no preemption, if a process is holding some resources and requests another resource that cannot be immediately allocated to it ____________
forum Discussion
MCQ
3.
One way to ensure that the circular wait condition never holds is to ____________
forum Discussion
MCQ
4.
Consider the methods used by processes P1 and P2 for accessing their critical sections whenever needed, as given below. The initial values of shared boolean variables S1 and S2 are randomly assigned.
Method used by P1 :
while(S1==S2);
Critical section
S1 = S2;
 
Method used by P2 :
while(S1!=S2);
Critical section
S2 = not(S1);
Which of the following statements describes properties achieved?
forum Discussion
MCQ
5.
Deadlock prevention is a set of methods ____________
forum Discussion

category More Operating System Topics

article

Introduction to Operating System

format_list_bulleted 5 MCQs
article

Types

format_list_bulleted 16 MCQs
article

Services

format_list_bulleted 2 MCQs
article

Structures

format_list_bulleted 3 MCQs
article

Processes

format_list_bulleted 58 MCQs
article

Threads

format_list_bulleted 47 MCQs
article

CPU Scheduling

format_list_bulleted 79 MCQs
article

Process Synchronization

format_list_bulleted 117 MCQs
article

Memory Management

format_list_bulleted 179 MCQs
article

Storage Management

format_list_bulleted 283 MCQs
article

Input Output Systems

format_list_bulleted 55 MCQs
article

Networking

format_list_bulleted 36 MCQs
article

Distributed Operating System

format_list_bulleted 73 MCQs
article

Protection and Security

format_list_bulleted 123 MCQs
article

Unix

format_list_bulleted 145 MCQs
article

Linux

format_list_bulleted 160 MCQs
article

MS Windows

format_list_bulleted 1 MCQs
article

Mixed

format_list_bulleted 10 MCQs
article

Operating Systems Overview

format_list_bulleted 0 MCQs
article

Process Management

format_list_bulleted 0 MCQs
article

Finding and Processing Files

format_list_bulleted 0 MCQs
article

File Management

format_list_bulleted 0 MCQs