250+ TOP MCQs on IPC and Answers

Here is a listing of Linux / Unix Technical Interview Questions & Answers for experienced IT professionals as well as fresh engineering graduates. These questions can be attempted by anyone focusing on Linux Development and Systems programming.

1. Which is true regarding pipes?
a) half duplex
b) full duplex
c) message boundaries are preserved
d) unordered data
Answer: a
Clarification: None.

2. The persistancy of a FIFO is
a) process
b) kernel
c) file system
d) none of the mentioned
Answer: c
Clarification: None.

3. Advantage of FIFO over pipe is
a) related processes can communicate
b) unrelated processes can communicate
c) all of the mentioned
d) none of the mentioned
Answer: b
Clarification: None.

4. What mkfifo() creats?
a) pipe
b) unnamed pipe
c) named pipe
d) msg queue
Answer: c
Clarification: None.

5. System V IPC common attributes are
a) key
b) id
c) owner
d) all of the mentioned
Answer: d
Clarification: None.

6. Which one of the following is not system V IPC ?
a) Shared Memory
b) Semaphores
c) FIFO
d) Message Queues
Answer: c
Clarification: None.

7. Which system call is used to create Sys V message Queue.
a) msgget
b) shemget
c) semget
d) msgctl
Answer: a
Clarification: None.

8. Which is not the correct option for removing a message queue
a) ipcrm -Q
b) ipcrm -q
c) ipcrm -m
d) none of the mentioned
Answer: c
Clarification: None.

9. Message queues are created in
a) userspace
b) kernelspace
c) userspace & kernelspace
d) none of the mentioned

Answer: b
Clarification: None.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top