Unit 10 Reviewing the Basic Quiz
Jump to navigation
Jump to search
- The data that are transmitted between client and server are
- Answer: strings
- The object that effects a connection between an individual client and a server is a(n)
- Answer: socket
- A lock on a resource is provided by an instance of the
- Answer: condition class
- The object that allows several clients to access a server on a host computer is a(n)
- Answer: port
- The method that executes a thread's code is called
- Answer: the run method
- If multiple threads share data, they can have
- synchronization problems
- The object that uniquely identifies a host computer on a network is a(n)
- Answer: IP address
- The best way for a server to handle requests from multiple clients is to
- Answer: create a separate client-handler thread for each client
- A Thread object moves to the ready queue when
- Answer: its start method is called
- Multiple threads can run on the same desktop computer by means of
- Answer: multiprocessing