Session 11

Session 11

University

7 Qs

quiz-placeholder

Similar activities

Quarter 1  Photoshop Review

Quarter 1 Photoshop Review

6th Grade - University

10 Qs

Software Engineering

Software Engineering

University

10 Qs

Contingency Planning

Contingency Planning

University

10 Qs

Soạn thảo văn bản Microsoft Word

Soạn thảo văn bản Microsoft Word

1st Grade - University

10 Qs

CIT214 - FQuiz #1

CIT214 - FQuiz #1

University

11 Qs

Jakob Nielsen's 10 Usability Heuristics

Jakob Nielsen's 10 Usability Heuristics

10th Grade - University

10 Qs

Operating-System Operations

Operating-System Operations

University

10 Qs

Ch06-Synchronization Tools_part2

Ch06-Synchronization Tools_part2

University

9 Qs

Session 11

Session 11

Assessment

Quiz

Computers

University

Medium

Created by

Rafael Wampfler

Used 8+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What are the benefits of using monitors instead of simple locks/semaphores?

They can be escaped until some condition is met.

They avoid spinning by using signaling mechanisms.

They are a lower level mechanism and faster.

There is no difference.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Re-checking a condition after returning from a wait usually isn't necessary.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is correct?

Wait-freedom implies lock-freedom.

Lock-freedom implies wait-freedom.

Wait-freedom and lock-freedom are the same.

Lock-freedom implies freedom from starvation.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Multiple concurrent reads of the same memory are a problem.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Multiple concurrent writes of the same memory are a problem.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One-thread-at-a-time is ideal for multiple concurrent reads and writes of the same memory.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can use Java's synchronized statement as a reader/writer lock.

True

False