Session 11

Session 11

University

7 Qs

quiz-placeholder

Similar activities

OPESSYS Quiz Mini Game

OPESSYS Quiz Mini Game

University

10 Qs

Memory

Memory

KG - University

12 Qs

DBMS - Deadlocks

DBMS - Deadlocks

University

10 Qs

UAS BDT

UAS BDT

University

10 Qs

Info Sys Dev

Info Sys Dev

KG - University

10 Qs

Computer Architecture

Computer Architecture

10th Grade - University

8 Qs

Threads in C# Quiz

Threads in C# Quiz

University

12 Qs

Q8 - FundComp - Python Básico (En)

Q8 - FundComp - Python Básico (En)

University

10 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