All Exams Test series for 1 year @ ₹349 only
Question

The messages exchanged by communicating processes reside in a temporary queue. Such queue cannot be implemented in the following way :

The correct answer is
Blocking capacity

Message Queue Implementation Types

Messages exchanged between processes are often stored in temporary queues. These queues can be implemented based on their capacity characteristics. The question asks to identify which option is NOT a valid way to implement such a queue's capacity.

Analyzing Queue Capacity Implementations

Standard implementations define the queue's size limits:

  • Zero Capacity: This signifies a direct rendezvous or synchronous communication. A message is sent only if the receiver is immediately ready. This is a valid model.
  • Bounded Capacity: The queue has a maximum size limit (e.g., 100 messages). Senders might block if the queue is full. This is a common, valid implementation.
  • Unbounded Capacity: The queue's size is limited only by available system memory. Senders typically do not block due to the queue being full. This is also a valid implementation.

The Case of 'Blocking Capacity'

The term 'Blocking capacity' is different. It describes the behavior of the communication process rather than the queue's inherent capacity implementation:

  • Blocking refers to a process halting its execution (e.g., a sender waiting if the queue is full, or a receiver waiting if it's empty).
  • While bounded queues often involve blocking behavior, 'blocking capacity' itself is not a classification of the queue's size implementation like zero, bounded, or unbounded.

Conclusion on Queue Implementation

Valid queue capacity implementations focus on size constraints: zero, bounded, or unbounded. 'Blocking' is a communication behavior, not a queue capacity implementation type itself.

Was this answer helpful?

Important Questions from Miscellaneous

  1. Which of the following scheduler/schedulers is/are also called CPU scheduler ?
    (A). Short Term Scheduler
    (B). Long Term Scheduler
    (C). Medium Term Scheduler
    (D). Asymmetric Scheduler
    Choose the correct answer from the options given below:
  2. A situation where two or more processes are blocked, waiting for resources held by each other is called:
  3. External fragmentation occurs ________.
  4. Which disk scheduling algorithm looks for the track closest to the current head position?
  5. Which CPU scheduling algorithm prefers the process with the shortest burst time?
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App