Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q4081: _______ can return the number of pipe instances.
  • A: GetPipeCount()
  • B: GetNamedPipeHandleState()
  • C: GetNamedPipeInstanceCount()
  • D: GetNamedPipeInfo()
View Answer
B

Q4082: The function used to get both input and output buffer sizes is
  • A: GetNamedPipeIOSize()
  • B: GetNamedPipeBufferLength()
  • C: GetNamedPipeInfo()
  • D: GetNamedPipeHandleState()
View Answer
C

Q4083: SetNamedPipeHandleState() accepts which type of parameters?
  • A: values only
  • B: pointers only
  • C: references or NULL
  • D: all of the above
View Answer
D

Q4084: The function GetNamedPipeHandleState() can return
  • A: session ID
  • B: buffer size
  • C: client machine name
  • D: whether pipe is blocking
View Answer
D

Q4085: _______ allows the program to modify pipe handle state.
  • A: SetNamedPipeHandleState()
  • B: ModifyPipeState()
  • C: ConfigurePipe()
  • D: SetPipeHandle()
View Answer
A

Q4086: _______ provides details about whether the pipe is message or byte oriented.
  • A: GetPipeMode()
  • B: GetNamedPipeInfo()
  • C: GetNamedPipeAttributes()
  • D: GetPipeDataType()
View Answer
B

Q4087: GetNamedPipeHandleState() reports on _______
  • A: mode, type, and instance count
  • B: only buffer size
  • C: client machine name
  • D: security credentials
View Answer
A

Q4088: _______ helps identify whether a pipe handle is client-side or server-side.
  • A: GetNamedPipeSource()
  • B: GetPipeStatus()
  • C: GetNamedPipeInfo()
  • D: GetPipeRole()
View Answer
C

Q4089: A NULL parameter in SetNamedPipeHandleState() indicates
  • A: no permission
  • B: no handle
  • C: no change required
  • D: no connection
View Answer
C

Q4090: _______ retrieves the process ID of the server end of the pipe.
  • A: GetServerProcess()
  • B: GetNamedPipeServerProcessId()
  • C: GetPipeHostProcess()
  • D: GetPipePID()
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now