Exam 15: Multithreading, Networks, Clientserver Programming
Exam 1: Background49 Questions
Exam 2: First Java Programs47 Questions
Exam 3: Syntax, Errors, and Debugging46 Questions
Exam 4: Introduction to Control Statements47 Questions
Exam 5: Using Classes and Objects in Media Computing47 Questions
Exam 6: Introduction to Defining Classes46 Questions
Exam 7: Control Statements Continued47 Questions
Exam 8: Improving the User Interface45 Questions
Exam 9: Introduction to Html and Applets45 Questions
Exam 10: Introduction to Arrays47 Questions
Exam 11: Classes Continued46 Questions
Exam 12: Arrays Continued47 Questions
Exam 13: Recursion, Complexity, and Searching and Sorting47 Questions
Exam 14: Introduction to Collections43 Questions
Exam 15: Multithreading, Networks, Clientserver Programming47 Questions
Select questions type
FIGURE 15-2
-In a program such as the day/time program, the ____ is responsible for establishing an input stream on the connection

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
A
The term ____________________ refers to processes that can run concurrently to solve a problem.
Free
(Short Answer)
4.7/5
(40)
Correct Answer:
thread
threads
A(n) ____________________ serves as a channel through which several clients can exchange data with the same server or different servers.
Free
(Short Answer)
4.8/5
(40)
Correct Answer:
port
FIGURE 15-1
-Figure 15-1 above shows stages in the life of a(n) ____.

(Multiple Choice)
4.9/5
(29)
FIGURE 15-2
-In a program such as the day/time program, the ____ is responsible for establishing an output stream on the connection.

(Multiple Choice)
4.8/5
(32)
Identify the letter of the choice that best matches the phrase or definition.
a.Multithreading
b.Sleep
c.Blocked thread
d.Multiprocessing
e.Synchronization
-An example is when a word processor creates a process to print a document in the background.
(Essay)
4.7/5
(33)
FIGURE 15-1
-A(n) ____ is a data structure that enforces first-come, first-served access to a single resource.

(Multiple Choice)
4.8/5
(35)
A(n) ____ repeatedly reads an integer from the cell, until it reaches an upper bound.
(Multiple Choice)
4.9/5
(39)
When a thread is waiting for some event, such as user input, to occur, it is in ____ mode.
(Multiple Choice)
4.8/5
(35)
Sleeping threads wake up in the order in which they were started.
(True/False)
4.8/5
(42)
In Java, a thread is an object in that it can hold data, receive messages, be stored in data structures, and be passed as parameters to methods. ____________________
(True/False)
4.9/5
(36)
All of these facts describe time-sharing systems EXCEPT ____.
(Multiple Choice)
4.8/5
(41)
A(n) ____ is a thread that listens indefinitely for client requests, but does not handle them directly.
(Multiple Choice)
4.7/5
(39)
FIGURE 15-2
-Jody knows that a(n) ____ loop creates problems such as the ability to handle only one client at a time.

(Multiple Choice)
4.9/5
(38)
When a thread's run method had executed its last instruction, the thread dies as an object.
(True/False)
4.8/5
(45)
A(n) ____ is an object that establishes a communication link between two ports.
(Multiple Choice)
4.9/5
(36)
In Esteban's program, the ____ method constructs a new thread.
(Multiple Choice)
4.8/5
(35)
Threads that interact by sharing data are said to have a producer/consumer relationship.
(True/False)
4.7/5
(36)
A(n) ____________________ is an object on which a process can obtain a lock.
(Short Answer)
4.9/5
(42)
A(n) ____________________ prevents another process from accessing data in the monitor until a condition becomes true.
(Short Answer)
4.9/5
(40)
Showing 1 - 20 of 47
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)