Session 11

Session 11

University

7 Qs

quiz-placeholder

Similar activities

How Safe are you? (Disclaimer: I do not own these questions)

How Safe are you? (Disclaimer: I do not own these questions)

University

10 Qs

QUIZZ 1 : DATABASE FUNDAMENTALS

QUIZZ 1 : DATABASE FUNDAMENTALS

University

10 Qs

(CPDS) Time and Global States - Clocks

(CPDS) Time and Global States - Clocks

University

9 Qs

Quiz Lec2

Quiz Lec2

KG - University

10 Qs

CHAPTER 7 part 2

CHAPTER 7 part 2

University

12 Qs

Determining System Requirements

Determining System Requirements

University

11 Qs

INTO Artificial Intelligence

INTO Artificial Intelligence

University - Professional Development

10 Qs

SE Quiz 2 (JKL)

SE Quiz 2 (JKL)

University

10 Qs

Session 11

Session 11

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Rafael Wampfler

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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