Exam 13: Parallel Programming
Exam 1: Introduction50 Questions
Exam 2: Language Design Criteria50 Questions
Exam 3: Functional Programming50 Questions
Exam 4: Logic Programming50 Questions
Exam 5: Object-Oriented Programming50 Questions
Exam 6: Syntax50 Questions
Exam 7: Basic Semantics50 Questions
Exam 8: Data Types50 Questions
Exam 9: Control I - Expressions and Statements50 Questions
Exam 10: Control II - Procedures and Environments50 Questions
Exam 11: Abstract Data Types and Modules50 Questions
Exam 12: Formal Semantics50 Questions
Exam 13: Parallel Programming51 Questions
Select questions type
Parallel programming is sometimes referred to as concurrent programming.
Free
(True/False)
4.8/5
(41)
Correct Answer:
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:
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:
C
A process is ____ when it is in possession of the processor.
(Multiple Choice)
4.8/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)
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)
The message passing mechanism is sometimes referred to as rendezvous.
(True/False)
4.9/5
(40)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)