System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q4061: Using which of the following as the server name improves local connection performance?
- A: full machine name
- B: (local IP address)
- C: .
- D: hostname
View Answer
C
Q4062: The correct function for clients to connect to a named pipe is
- A: CreatePipe()
- B: CreateFile()
- C: ConnectPipe()
- D: OpenPipe()
View Answer
B
Q4063: The path format \\servername\pipe\pipename is used when
- A: the server is remote
- B: the client is offline
- C: the client is the server
- D: the pipe is hidden
View Answer
A
Q4064: ______ delivers better connection performance when the server is local.
- A: Using IP address
- B: Using host name
- C: Using dot (.) as server name
- D: Using full domain name
View Answer
C
Q4065: Named pipe client connections use which function for establishing a connection?
- A: pipeConnect()
- B: CreatePipe()
- C: CreateFile()
- D: PipeOpen()
View Answer
C
Q4066: The backslashes in the named pipe path indicate
- A: hardware routes
- B: pipe security
- C: windows file structure
- D: network location
View Answer
D
Q4067: To connect to a local named pipe, clients should use
- A: \\server\pipe\name
- B: \\localhost\pipe\name
- C: \\.\pipe\pipename
- D: \\localmachine\pipe\pipename
View Answer
C
Q4068: When connecting to a named pipe on a remote machine, the path begins with
- A: \\.\
- B: \\pipe\
- C: \\remote\
- D: \\servername\
View Answer
C
Q4069: The syntax for connecting to a remote pipe includes
- A: \\host\file\pipe
- B: \\server\pipe\pipename
- C: \\host\\pipe\\name
- D: \\remote\pipe\server
View Answer
B
Q4070: The local named pipe path starts with _______
- A: \\localhost\pipe\
- B: \\.\pipe\
- C: \\local\pipe\
- D: \\system\pipe\
View Answer
B