Exam 15: Multithreading, Networks, Clientserver Programming

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

FIGURE 15-2 FIGURE 15-2   -In a program such as the day/time program, the ____ is responsible for establishing an input stream on the connection -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:
Verified

A

The term ____________________ refers to processes that can run concurrently to solve a problem.

Free
(Short Answer)
4.7/5
(40)
Correct Answer:
Verified

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:
Verified

port

FIGURE 15-1 FIGURE 15-1   -Figure 15-1 above shows stages in the life of a(n) ____. -Figure 15-1 above shows stages in the life of a(n) ____.

(Multiple Choice)
4.9/5
(29)

FIGURE 15-2 FIGURE 15-2   -In a program such as the day/time program, the ____ is responsible for establishing an output stream on the connection. -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 FIGURE 15-1   -A(n) ____ is a data structure that enforces first-come, first-served access to a single resource. -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 FIGURE 15-2   -Jody knows that a(n) ____ loop creates problems such as the ability to handle only one client at a time. -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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)