Quiz on Locked Data Structures

It's quiz time! Answer the following questions to test your knowledge and understanding of locked data structures.

We'll cover the following...
1

What is wrong with using a single lock to ensure mutual exclusion for updating a counter in a multi-threaded program?

A)

This technique is suboptimal and does not work all the time

B)

This technique could cause starvation

C)

This technique does not scale well with respect to number of threads

D)

None of the above

Question 1 of 50 attempted
Access this course and 1400+ top-rated courses and projects.