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.

(Multiple Choice)
4.8/5
(34)

The operation P in a semaphore scheme requires a(n)____ sequence to be performed as an indivisible action in a single machine cycle.

(Multiple Choice)
4.9/5
(42)

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

(Multiple Choice)
4.9/5
(35)

When a compiler automatically detects instructions that can be performed in parallel,____ is in place.

(Multiple Choice)
4.8/5
(37)

When using the WAIT and SIGNAL operations,____ sets the process's process control block to the blocked state and links it to the queue of processes waiting to enter this particular critical region.

(Multiple Choice)
4.8/5
(37)

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

(Multiple Choice)
4.7/5
(34)

Test-and-set is a single indivisible machine instruction.In a single machine cycle,it tests to see if a key is available and,if it is,sets it to unavailable.

(True/False)
4.9/5
(34)

The ____ multiprocessing configuration is the most difficult to implement because the processes must be well synchronized to avoid races and deadlocks.

(Multiple Choice)
4.7/5
(25)

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.8/5
(43)

The master/slave configuration is a symmetric multiprocessing system.

(True/False)
5.0/5
(39)

The primary disadvantage of the WAIT and SIGNAL operation set is that it does not address busy waiting.

(True/False)
4.8/5
(44)

Early programming languages did not support the creation of threads or the existence of concurrent processes.The Ada programming language was one of the first to do so.

(True/False)
4.8/5
(40)

A ____ of processing must be handled as a single unit.

(Multiple Choice)
4.7/5
(39)

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

(Multiple Choice)
4.8/5
(37)

Parallel processing is a situation in which two or more processors operate in one system at the same time and may or may not work on related activities.

(True/False)
4.8/5
(44)

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.7/5
(39)

The success of process synchronization hinges on the capability of the operating system to make a resource available to other processes while it is being used by one of them.

(True/False)
4.8/5
(32)

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

(Multiple Choice)
4.9/5
(39)

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

(True/False)
4.9/5
(43)

Java uses both a compiler and an interpreter.

(True/False)
4.8/5
(38)
Showing 21 - 40 of 40
close modal

Filters

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