Karteikarten
SCIA 360 Chapter 6
Karten in diesem Stapel (20)
- 1The ____ multiprocessing configuration is an asymmetric system. a. loosely coupled b. master processors c. start/end d. master/slaved. master/slave
- 2The ____ multiprocessing configuration features several complete computer systems, each with its own memory, I/O devices, CPU, and operating system. a. loosely coupled b. master/slave c. symmetric d. synchronizeda. loosely coupled
- 3The ____ multiprocessing configuration is the most difficult to implement because the processes must be well synchronized to avoid races and deadlocks. a. master/slave b. loosely coupled c. symmetric d. shared loadc. symmetric
- 4A ____ of processing must be handled as a single unit. a. line b. segment c. critical region d. semaphorec. critical region
- 5Lock and key synchronization must take place within a single ____. a. instruction b. computer c. processor d. machine cycled. machine cycle
- 6A 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. a. starvation b. synchronization c. deadlock d. an errora. starvation
- 7When 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. a. TS b. SIGNAL c. WAIT d. BLOCKc. WAIT
- 8The two operations defined by Dijkstra to be performed on a semaphore are ____. a. P and V b. WAIT and SIGNAL c. test and set d. check and updatea. P and V
- 9The operation P in a semaphore scheme requires a(n) ____ sequence to be performed as an indivisible action in a single machine cycle. a. test, fetch, increment, and store b. test, fetch, decrement, and store c. increment and store d. decrement and storeb. test, fetch, decrement, and store
- 10What is the name traditionally given to a semaphore that enforces the concept of mutual exclusion? a. synch b. flag c. mutex d. signalc. mutex
- 11____ semaphores are used in the producer and consumer problem. a. One b.Two c. Three d. Fourc. Three
- 12____ proposed a solution to the readers and writers problem that did not result in starvation for readers or writers. a. Hoare b. Courtois c. Heymans d. Parnasa. Hoare
- 13____ semaphores are used in the solution to the readers and writers problem that does not involve starvation. a. Zero b. One c. Two d. Threec. Two
- 14When a compiler automatically detects instructions that can be performed in parallel, ____ is in place. a. automatic parallelism b. array parallelism c. explicit parallelism d. implicit parallelismd. implicit parallelism
- 15A computer system that can support jobs that use multiple processors to execute sets of instructions in parallel is referred to as a ____ system. a. concurrent processing b. process synchronization c. parallel extraction d. processing optimizationa. concurrent processing
- 16In general, parallel systems can be put into two broad categories: ____ level parallelism and instruction level parallelism. a. resource b. register c. data d. taskc. data
- 17In 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. a. 5 b. 10 c. 20 d. 25c. 20
- 18Most current operating systems support the implementation of threads, or ____, which have become part of numerous application packages. a. parallel processes b. lightweight processes c. heavyweight processes d. semaphoresb. lightweight processes
- 19The source code of a Java program is first compiled into an intermediate language called Java ____, which are platform-independent. a. beans b. nibs c. bits d. bytecodesd. bytecodes
- 20The Java ____ class is a collection of methods used to start, run, stop, and check the status of a thread. a. thread b. multiprocessing c. distributed d. concurrencya. thread
Informationen
- Beschreibung
- SCIA 360 Karteikarten am SCIA 360 Chapter 6, erstellt von Tyler Rock am 27/03/2019.
- Erstellt von
- Tyler Rock
- Aufrufe
- 19
- Tags
- Bewertung