Exam 10: Multithreading Networks and Client Server Programming
Exam 1: Introduction50 Questions
Exam 2: Software Development Data Types and Expressions50 Questions
Exam 3: Loops and Selection Statements50 Questions
Exam 4: Strings and Text Files50 Questions
Exam 5: Lists and Dictionaries50 Questions
Exam 6: Design With Functions50 Questions
Exam 7: Simple Graphics and Image Processing50 Questions
Exam 8: Graphical User Interrfaces50 Questions
Exam 9: Design With Classes50 Questions
Exam 10: Multithreading Networks and Client Server Programming50 Questions
Exam 11: Searching Sorting and Complexity Analysis51 Questions
Select questions type
When a client connects to a server, what does the socket accept method return?
(Multiple Choice)
4.9/5
(41)
When developing a network application, the programmer can first try it out on a local host-that is, on a standalone computer that may or may not be connected to the Internet.
(True/False)
4.9/5
(28)
What thread method can be used to test if the thread is dead or not?
(Multiple Choice)
4.9/5
(33)
Using the "gethostbyname('localhost')" function of the socket module will return what IP address?
(Multiple Choice)
4.9/5
(40)
In Python, a thread is an object like any other in that it can hold data, be run with methods, be stored in data structures, and be passed as parameters to methods.
(True/False)
4.9/5
(44)
The Python function time.currenttime returns a string representing the day/time.
(True/False)
4.9/5
(35)
A socket resembles a file object, in that the programmer opens it, receives data from it, and closes it when finished.
(True/False)
4.9/5
(47)
In order to execute code in a thread as a process, what must be done?
(Multiple Choice)
4.7/5
(39)
After using the socket.recv method, what type of data is returned?
(Multiple Choice)
4.9/5
(38)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)