In the context of Inter-Process Communication (IPC), what does a 'pipe' do? MCQ with Answer and Explanation

In the context of Inter-Process Communication (IPC), what does a 'pipe' do?
A. It defragments the master storage drive blocks.
B. It routes the standard output of one process directly into the standard input of another process.
C. It amplifies audio outputs to peripheral speakers.
D. It blocks unauthorized external network incoming data packets.
Answer: Option B
Solution (By JKSSB Mock Tests)
A pipe is an IPC mechanism that channels the data output sequence of one system process into the data input stream of another process.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which Linux command is used to compress files using the gzip algorithm?
A. gzip
B. tar
C. bzip2
D. zip

Correct Answer: Option A


Explanation:
gzip compresses files using the Lempel-Ziv coding (LZ77) with a .gz extension; zip is a different format, and tar is an archiver.

This question belongs to: Computer Operating Systems
Question #2
What is the purpose of the Windows 'Power Options' settings?
A. To set battery charging limits
B. To configure display brightness
C. To control cooling fans
D. To manage power consumption and performance profiles

Correct Answer: Option D


Explanation:
Power Options allow users to choose power plans (Balanced, High Performance, Power Saver) that adjust hardware settings to save energy or boost performance.

This question belongs to: Computer Operating Systems
Question #3
Which process state indicates that a process is waiting for an event (like I/O completion)?
A. Terminated
B. Running
C. Ready
D. Blocked/Waiting

Correct Answer: Option D


Explanation:
A blocked/waiting process is unable to continue until a specific event occurs, such as I/O completion or a signal.

This question belongs to: Computer Operating Systems