CSCI 316: Quiz 11 - Concurrency
Sign in to Google to save your progress. Learn more
Email *
Last Name *
First Name *
Student Id *
The primary goal of concurrency mechanisms in programming languages is to *
1 point
Which of the following best distinguishes concurrency from parallelism? *
1 point
A race condition occurs when *
1 point
Which concurrency problem arises when two or more processes wait indefinitely for resources held by each other? *
1 point
Subprogram-level concurrency typically treats concurrent units as *
1 point
A semaphore is best described as *
1 point
The two fundamental semaphore operations are *
1 point
Which semaphore misuse can lead to busy waiting? *
1 point
Counting semaphores differ from binary semaphores because they *
1 point
A major disadvantage of semaphores is that they *
1 point
Monitors were introduced primarily to *
1 point
In a monitor, mutual exclusion is *
1 point
Condition variables in monitors are used to *
1 point
Which operation typically releases the monitor lock and suspends the calling process? *
1 point
Message passing concurrency avoids shared memory by *
1 point
Which is an advantage of message passing over shared memory? *
1 point
Asynchronous message passing differs because *
1 point
In Ada, the primary concurrent unit is the *
1 point
Which Ada construct restricts concurrent access to shared data more safely than tasks? *
1 point
In Java, mutual exclusion is commonly implemented using *
1 point
A key danger of Java’s original thread model was *
1 point
C# threads are most similar to Java threads because they *
1 point
Concurrency in functional languages is often simplified by *
1 point
Statement-level concurrency allows *
1 point
A major limitation of statement-level concurrency is *
1 point
Which functional language feature reduces race conditions? *
1 point
Starvation occurs when *
1 point
Fair scheduling attempts to ensure that *
1 point
Which concurrency problem results when threads repeatedly yield to each other without making progress? *
1 point
Concurrency constructs aim to balance *
1 point
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report