Multiple choice technology programming languages

13.) What is a message queue?

  1. a) A printer queue

  2. b) An IPC mechanism with destructive execute

  3. c) An IPC mechanism with destructive write

  4. d) 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 reads are destructive - once a process reads a message from the queue, that message is removed and cannot be read by another process. This ensures each message is consumed exactly once. Write operations are not destructive - multiple messages can be written to the queue. It's not related to printer queues.