Session 11

Session 11

University

7 Qs

quiz-placeholder

Similar activities

NME - Programming Languages

NME - Programming Languages

University

10 Qs

Artificial Intelligence

Artificial Intelligence

5th Grade - University

10 Qs

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

Algorithm analysis: divide & conquer theory

Algorithm analysis: divide & conquer theory

University

10 Qs

C++ 2nd Online Quiz

C++ 2nd Online Quiz

University

10 Qs

Online Safety

Online Safety

2nd Grade - University

10 Qs

Programming

Programming

University

12 Qs

Quiz No. 2

Quiz No. 2

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers