Multiple choice technology programming languages

What is a message queue?

  1. A printer queue

  2. An IPC mechanism with destructive execute

  3. An IPC mechanism with destructive write

  4. An IPC mechanism with destructive read

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A message queue is an IPC mechanism where reading a message removes it from the queue (destructive read). Once a process reads a message, other processes cannot read the same message. This contrasts with shared memory where multiple processes can read the same data repeatedly (non-destructive read).