Correct Answer
verified
Multiple Choice
A) procedural problems
B) communication problems
C) coordination problems
D) synchronization problems
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The thread is moved to the front of the ready-queue.
B) The thread is moved to the rear of the ready-queue.
C) The thread is given a chance to execute as soon as the running process enters a wait state.
D) The thread is given a random interval to check if it is the thread's turn to execute, or if the processor is available.
Correct Answer
verified
Multiple Choice
A) The condition object functions as a lock on a resource.
B) The condition object provides a similar function to if-else in threads.
C) The condition object provides a try-except function in threads.
D) The condition object functions as a timer for the ready-queue.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) tuples
B) strings
C) lists
D) dictionaries
Correct Answer
verified
Multiple Choice
A) codecs.decode(client_data, "string")
B) socket.decode(client_data, type="string")
C) codecs.decode(client_data, 'ascii')
D) network.data(client_data, %s)
Correct Answer
verified
Multiple Choice
A) The target host's IP address.
B) The protocol type that will be used.
C) The operating system used by the host.
D) A valid port number.
Correct Answer
verified
Multiple Choice
A) A socket is an object that serves as a communication link between a single server process and a single client process.
B) A socket is a named pipe that is used to pass communications one way to a remote location.
C) A socket is a unique computer resource that provides access to hardware.
D) A socket is a communications channel within the TCP/IP stack that communicates only with the localhost.
Correct Answer
verified
Multiple Choice
A) multi-computing
B) resource sharing
C) process distributing
D) parallel computing
Correct Answer
verified
Multiple Choice
A) time.ptime
B) time.ctime
C) time.today
D) time.now
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The socket will listen for a maximum of 10 minutes, and then close.
B) The socket will allow a maximum of 10 connections, then close.
C) The socket will accept a maximum of 10 concurrent connections.
D) The socket will listen until the integer "10" is seen in the data stream.
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Showing 21 - 40 of 50
Related Exams