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 relationships is/are not true?
    (A). Most probable velocity = $\sqrt{\frac{2RT}{M}}$
    (B). PV = $\frac{3}{2}kT$
    (C). Compressibility factor Z = $\frac{pV}{nRT}$
    (D). Average kinetic energy of gas = $\frac{1}{2}kT$
    Choose the correct answer from the options given below
  2. Match List-I with List-II
    List-IList-II
    Electronic ConfigurationFirst Ionisation energy (kJ mol$^{-1}$)
    (A). ns$^2$(I). 2100
    (B). ns$^2$np$^1$(II). 1400
    (C). ns$^2$np$^3$(III). 800
    (D). ns$^2$np$^6$(IV). 900

    Choose the correct answer from the options given below:
  3. The shielding constant of a 2p electron (calculated using Slater's rules) is
  4. Match List-I with List-II
    List-IList-II
    SpectroscopyProperty
    (A). Raman(I). Polarizability
    (B). FTIR(II). Dipole Moment
    (C). UV-Visible(III). Absorbance
    (D). NMR(IV). Spin

    Choose the correct answer from the options given below:
  5. The structure of protein comprises of:
    (A). Primary structure of protein is associated with amino acids
    (B). Secondary structure of protein is associated to peptides
    (C). Tertiary structure of protein is associated with polypeptide chains
    (D). Quaternary structure of protein is associated with polypeptide chains
    Choose the correct answer from the options given below:
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