System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q4001: Named pipes are useful for which type of applications?
- A: system bootloaders
- B: graphics rendering
- C: file I/O only
- D: client/server and networked file access
View Answer
D
Q4002: Which type of pipe allows clients to access it by name over a network?
- A: Threaded pipe
- B: Buffered pipe
- C: Named pipe
- D: Anonymous pipe
View Answer
C
Q4003: Named pipes are useful in a _______ system.
- A: client/server
- B: distributed
- C: monolithic
- D: file
View Answer
A
Q4004: The reading process in a named pipe reads messages _______.
- A: randomly
- B: in reverse
- C: precisely as sent
- D: only when the pipe is closed
View Answer
C
Q4005: In IPC, named pipes are considered more advanced than
- A: network sockets
- B: shared memory
- C: semaphores
- D: anonymous pipes
View Answer
D
Q4006: Named pipes can be used when
- A: only reading is needed
- B: bidirectional data transfer is required
- C: processes are unrelated
- D: network access is not necessary
View Answer
B
Q4007: The feature that allows multiple clients to communicate with the server simultaneously is called
- A: pipe aggregation
- B: instance handling
- C: message queueing
- D: multi-threading
View Answer
A
Q4008: ______ pipes are message-oriented.
- A: Anonymous
- B: Named
- C: Standard
- D: Error
View Answer
B
Q4009: Two processes can exchange data in both directions using
- A: anonymous pipes
- B: named pipes
- C: thread-safe queues
- D: sockets
View Answer
B
Q4010: In named pipes, separate instances allow
- A: for data loss
- B: one-way communication
- C: dedicated client communication
- D: conflicting data handling
View Answer
C