Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Chapter: 181
Q3941:
Anonymous pipes are
A. character based and half duplex
B. byte based and full duplex
C. character based and full duplex
D. byte based and half duplex
Correct Answer: A
Chapter: 181
Q3942:
Anonymous pipes are best suited for
A. directing output of one program into input of another
B. network communication
C. client-server applications
D. file transfer
Correct Answer: B
Chapter: 181
Q3943:
Named pipes are
A. much more powerful than anonymous pipes
B. less powerful than anonymous pipes
C. the same as anonymous pipes
D. only for local use
Correct Answer: A
Chapter: 181
Q3944:
Named pipes support
A. full duplex communication
B. half duplex communication
C. simple communication
D. no communication
Correct Answer: B
Chapter: 181
Q3945:
Named pipes allow
A. network wide communication
B. only local communication
C. communication with devices
D. communication within a thread
Correct Answer: A
Chapter: 181
Q3946:
Which of the following allows multiple open handles for a pipe?
A. Named pipes
B. Anonymous pipes
C. Shared memory
D. Semaphores
Correct Answer: A
Chapter: 181
Q3947:
Transaction oriented named pipe functions are suitable for
A. client-server applications
B. simple file operations
C. thread synchronization
D. graphic rendering
Correct Answer: A
Chapter: 181
Q3948:
Anonymous pipes can only be
A. half duplex
B. full duplex
C. network based
D. message oriented
Correct Answer: A
Chapter: 181
Q3949:
Named pipes are
A. message oriented
B. bit oriented
C. character oriented
D. half duplex
Correct Answer: A
Chapter: 181
Q3950:
IPC is a mechanism that enables
A. cooperation between processes
B. isolation of processes
C. thread scheduling
D. memory management
Correct Answer: A
Chapter: 181
Q3951:
Pipes used in IPC can be described as
A. file-like objects
B. device drivers
C. network cards
D. memory buffers
Correct Answer: A
Chapter: 181
Q3952:
Named pipes support which type of communication?
A. full duplex
B. half duplex
C. serial
D. parallel
Correct Answer: A
Chapter: 181
Q3953:
To create IPC, the mechanism that allows communication is called
A. Inter-process communication
B. Inter-thread communication
C. Network communication
D. Shared memory
Correct Answer: A
Chapter: 182
Q3954:
Anonymous pipes allow
A. one-way communication
B. two-way communication
C. full duplex communication
D. full duplex and message oriented
Correct Answer: A
Chapter: 182
Q3955:
Each anonymous pipe has
A. two handles: read and write
B. one handle: read only
C. one handle: write only
D. multiple handles for read and write
Correct Answer: A
Chapter: 182
Q3956:
The CreatePipe() function is used to
A. create anonymous pipes
B. create named pipes
C. create threads
D. create processes
Correct Answer: A
Chapter: 182
Q3957:
In CreatePipe(), the parameter cbPipe
A. specifies the suggested pipe size
B. sets the actual pipe size
C. indicates the pipe type
D. defines the buffer mode
Correct Answer: A
Chapter: 182
Q3958:
By default, the cbPipe value in CreatePipe() is
A. set to 0
B. set to 1024
C. set to 1
D. set to maximum size
Correct Answer: A
Chapter: 182
Q3959:
In parent-child process communication using anonymous pipes, the read handle (phRead) belongs to
A. the child process
B. the parent process
C. both parent and child
D. process scheduler
Correct Answer: A
Chapter: 182
Q3960:
In anonymous pipes, the write handle (phWrite) belongs to
A. the parent process
B. the child process
C. both processes
D. none
Correct Answer: A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now