Question
a.
have to be of a fixed size
b.
have to be a variable size
c.
can be fixed or variable sized
d.
None of these
Posted under Operating System
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Messages sent by a process :
Similar Questions
Discover Related MCQs
Q. The link between two processes P and Q to send and receive messages is called :
View solution
Q. Which of the following are TRUE for direct communication :
View solution
Q. In indirect communication between processes P and Q :
View solution
Q. In the non blocking send :
View solution
Q. In the Zero capacity queue :
View solution
Q. The Zero Capacity queue :
View solution
Q. Bounded capacity and Unbounded capacity queues are referred to as :
View solution
Q. Main function of shared memory is:
View solution
Q. A critical section is a program segment
View solution
Q. 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) ;
Critica1 Section
S1 = S2;
Method Used by P2:
while (S1 != S2) ;
Critica1 Section
S2 = not (S1);
Which one of the following statements describes the properties achieved?
View solution
Q. A counting semaphore was initialized to 10. Then 6 P (wait) operations and 4V (signal) operations were completed on this semaphore. The resulting value of the semaphore is
View solution
Q. The following program consists of 3 concurrent processes and 3 binary semaphores. The semaphores are initialized as S0=1, S1=0, S2=0.
Process P0 :
while (true) {
wait (S0);
print (0);
release (S1);
release (S2);
}
Process P1 :
wait (S1);
Release (S0);
Process P2 :
wait (S2);
release (S0);
How many times will process P0 print '0'?
View solution
Q. What is said to happen when the result of computation depends on the speed of the processes involved?
View solution
Q. Consider a counting semaphore which was initialized to 10 and then 6P (wait) operations and 4v(signal) operations were completed on this semaphore. What is the resulting value of semaphore?
View solution
Q. Let P1 and P2 be the two processes and S1 and S2 be the two shared Boolean variables. The initial values of S1 and S2 are randomly assigned. For accessing the critical sections of P1 and P2 the methods used by them are given below:
Method used by P1
While ( S1 == S2 );
Critical section
S1 = S2;
Method used by P2
While ( S1! = S2 )
Critical section
S2 = not (S1);
Which statement / s describes that the properties are achieved?
View solution
Q. Which is the device that should get the highest priority in assigning the interrupts?
View solution
Q. Scissoring enables
View solution
Q. ............... refers to the ability of multiple process (or threads) to share code, resources or data in such a way that only one process has access to shared object at a time.
View solution
Q. ................. is the ability of multiple process to co-ordinate their activities by exchange of information.
View solution
Q. …………… is a condition in which there is a set of concurrent processes, only one of which is able to access a given resource or perform a given function at any time.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!