Exam 13: Parallel Programming

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

Parallel programming is sometimes referred to as concurrent programming.

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

True

When processes are split,one process becomes the parent and the rest become the children.

Free
(True/False)
4.9/5
(36)
Correct Answer:
Verified

True

A ____ is a mechanism to provide mutual exclusion and synchronization in a shared-memory model.

Free
(Multiple Choice)
4.7/5
(44)
Correct Answer:
Verified

C

A process is ____ when it is in possession of the processor.

(Multiple Choice)
4.8/5
(39)

Java threads exhibit fork-join parallelism.

(True/False)
4.9/5
(39)

In a monitor condition queue,a call to continue will have no effect if the queue is empty.

(True/False)
4.8/5
(45)

A ____ is an abstract data type mechanism with the property of mutual exclusion.

(Multiple Choice)
4.7/5
(31)

A multiple-instruction,multiple-data system uses a single processor to precisely control the execution of multiple processors.

(True/False)
4.9/5
(35)

A ____ causes the process to relinquish the processor,or timeout.

(Multiple Choice)
4.9/5
(35)

Shared-memory systems suffer from ____ problems.

(Multiple Choice)
4.8/5
(37)

An example of the ____ model is where a process creates several child processes,each with its own code,and then waits for the children to complete their execution.

(Multiple Choice)
4.8/5
(46)

A ____ system is a single system incorporating several processors.

(Multiple Choice)
4.8/5
(42)

Deadlocks occur when processes ____.

(Multiple Choice)
4.8/5
(35)

The message passing mechanism is sometimes referred to as rendezvous.

(True/False)
4.9/5
(40)

Distributed-memory systems can still be shared-memory systems.

(True/False)
4.9/5
(30)

The standard way of multiplying two matrices,using a set of 3 nested for loops,will require ____ steps if performed sequentially.

(Multiple Choice)
4.9/5
(30)

In Fortran95,the forall construct indicates parallel execution of each iteration of a loop.

(True/False)
4.9/5
(39)

A semaphore's ____ operation tests the semaphore for a positive value,decrementing it if it is positive and suspends the calling process if it is zero or less.

(Multiple Choice)
4.8/5
(27)

____ are sections of code that can be executed by only one process at a time.

(Multiple Choice)
4.8/5
(44)

____ occur when two processes attempt to modify the same memory and end up interleaving their output in unpredictable manners.

(Multiple Choice)
4.8/5
(40)
Showing 1 - 20 of 51
close modal

Filters

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