Exam 6: Concurrent Processes

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

The ____ multiprocessing configuration features several complete computer systems,each with its own memory,I/O devices,CPU,and operating system.

Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
Verified

A

____ semaphores are used in the solution to the readers and writers problem that does not involve starvation.

Free
(Multiple Choice)
4.9/5
(31)
Correct Answer:
Verified

C

The loosely coupled multiprocessing configuration features several complete computer systems,each with its own memory,I/O devices,CPU,and operating system.

Free
(True/False)
4.8/5
(31)
Correct Answer:
Verified

True

The only tangible benefit of parallel processing systems is faster processing.

(True/False)
4.8/5
(48)

____ proposed a solution to the readers and writers problem that did not result in starvation for readers or writers.

(Multiple Choice)
4.9/5
(41)

The two operations that can be performed on a semaphore variable are select and increment (P and V).

(True/False)
4.9/5
(36)

In a loosely coupled system,a job may move from one processor to another during execution.

(True/False)
4.8/5
(32)

The classic problem of producers and consumers is one in which one or more processes produce some data that one or more processes consume later.

(True/False)
4.8/5
(33)

The two operations defined by Dijkstra to be performed on a semaphore are ____.

(Multiple Choice)
4.8/5
(41)

The source code of a Java program is first compiled into an intermediate language called Java ____,which are platform-independent.

(Multiple Choice)
4.7/5
(29)

What is the name traditionally given to a semaphore that enforces the concept of mutual exclusion?

(Multiple Choice)
4.8/5
(42)

In its simplest form,Amdahl's Law maintains that if a given program would take one hour to run to completion with one processor,but 80 percent of the program had to run sequentially (and therefore could not be sped up by applying additional processors to it),then a resulting parallel program would run only a maximum of ____ percent faster.

(Multiple Choice)
4.8/5
(33)

Each active thread in a process has its own processor registers,data area,and resources.

(True/False)
4.9/5
(32)

In general,parallel systems can be put into two broad categories: ____ level parallelism and instruction level parallelism.

(Multiple Choice)
4.8/5
(41)

Multiprocessing can refer to one job using several processors to execute sets of instructions in parallel.

(True/False)
4.9/5
(32)

In a master/slave system,the master processor is responsible for managing the entire system-all files,devices,memory,and processors.

(True/False)
4.8/5
(41)

The ____ multiprocessing configuration is an asymmetric system.

(Multiple Choice)
4.9/5
(40)

The Java ____ class is a collection of methods used to start,run,stop,and check the status of a thread.

(Multiple Choice)
4.8/5
(37)

____ semaphores are used in the producer and consumer problem.

(Multiple Choice)
4.8/5
(41)

A problem with test-and-set is that when many processes are waiting to enter a critical region,____ can occur because the processes gain access in an arbitrary fashion.

(Multiple Choice)
4.9/5
(44)
Showing 1 - 20 of 40
close modal

Filters

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