1. Which is true regarding pipes?
a) half duplex
b) full duplex
c) message boundaries are preserved
d) unordered data
View Answer
Explanation: None.
2. The persistancy of a FIFO is
a) process
b) kernel
c) file system
d) none of the mentioned
View Answer
Explanation: 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
View Answer
Explanation: None.
4. What mkfifo() creats?
a) pipe
b) unnamed pipe
c) named pipe
d) msg queue
View Answer
Explanation: None.
5. System V IPC common attributes are
a) key
b) id
c) owner
d) all of the mentioned
View Answer
Explanation: None.
6. Which one of the following is not system V IPC ?
a) Shared Memory
b) Semaphores
c) FIFO
d) Message Queues
View Answer
Explanation: None.
7. Which system call is used to create Sys V message Queue.
a) msgget
b) shemget
c) semget
d) msgctl
View Answer
Explanation: 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
View Answer
Explanation: None.
9. Message queues are created in
a) userspace
b) kernelspace
c) userspace & kernelspace
d) none of the mentioned
View Answer
Explanation: None.
Learn detailed answer of these interview questions and an in-depth coverage on Linux Systems Programming by our popular training program titled Linux Systems Programming delivered by our Founder & CTO.
Read here to know more about the skills required to become a Linux Systems Developer.
Here’s the list of Best Books in Linux Commands & Shell Programming.
Here’s the list of Best Books in Linux Kernel, Device-Drivers & System Programming.
To practice all questions on Linux Administration & Programming, here is complete set of 1000+ Multiple Choice Questions and Answers on Linux. These questions focuses on Process Management, Memory Management, File Management, Inter Process Communications, Signal Handling, etc.
If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]
- Check Information Technology Books
- Apply for Programming Internship
- Check Linux Books
- Practice Programming MCQs