Exam 15: Multithreading, Networks, Clientserver Programming

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

In a two-way chat, the client connects to the server, and the two programs engage in communication until one of them, usually the server, chooses to quit.

(True/False)
4.8/5
(34)

The code in a shared method runs as an indivisible unit. ____________________

(True/False)
4.9/5
(31)

____ is the ability of a program to start another program by creating a new process.

(Multiple Choice)
4.7/5
(39)

Identify the letter of the choice that best matches the phrase or definition. a.Multithreading b.Sleep c.Blocked thread d.Multiprocessing e.Synchronization -When a ____ is notified that an event has occurred, it goes to the rear of the ready queue.

(Essay)
4.7/5
(43)

A(n) ____ repeatedly writes an integer to the cell and increments the integer, until it reaches an upper bound.

(Multiple Choice)
4.9/5
(39)

____ computing is the discipline of building hardware architectures, operating systems, and specialized algorithms for running a program on a cluster of processors.

(Multiple Choice)
4.9/5
(29)

While the cell is writable, the caller of ____ must wait or suspend activity until the producer writes a datum.

(Multiple Choice)
4.9/5
(35)

The problems of running and scheduling processes are more complex on a networked system.

(True/False)
4.9/5
(36)

Client and server threads can run concurrently on a single computer or be distributed across several computers that are linked in a network.

(True/False)
4.9/5
(43)

In a producer/consumer relationship, all of the following are true EXCEPT ____.

(Multiple Choice)
4.9/5
(38)

In a two-way chat program, there are two distinct Java application programs, one for the client and one for the server.

(True/False)
4.8/5
(31)

The queue containing threads that can be executed is called the ____________________ queue.

(Short Answer)
4.9/5
(37)

The methods wait and notify, respectively, suspend and resume the execution of the calling thread.

(True/False)
4.8/5
(38)

FIGURE 15-2 FIGURE 15-2   -In a program such as the day/time program, the ____ is responsible for informing the user that it has started. -In a program such as the day/time program, the ____ is responsible for informing the user that it has started.

(Multiple Choice)
4.8/5
(32)

FIGURE 15-2 FIGURE 15-2   -In Figure 15-2 above, the ____ is usually specified by a number, such as 13 for the day/time server. -In Figure 15-2 above, the ____ is usually specified by a number, such as 13 for the day/time server.

(Multiple Choice)
4.9/5
(40)

Identify the letter of the choice that best matches the phrase or definition. a.Multithreading b.Sleep c.Blocked thread d.Multiprocessing e.Synchronization -A thread can be put to ____ for a given number of milliseconds.

(Essay)
4.8/5
(44)

All of these facts describe multiprocessing systems EXCEPT ____.

(Multiple Choice)
4.8/5
(46)

The CPU is an example of a data structure.

(True/False)
4.8/5
(32)

Every computer on a network has a unique identifier called an IP address.

(True/False)
5.0/5
(31)

While the cell is not writable, the caller of ____ must wait or suspend activity until the consumer reads a datum.

(Multiple Choice)
4.9/5
(38)
Showing 21 - 40 of 47
close modal

Filters

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