Search Header Logo

Session 13

Authored by Rafael Wampfler

Computers

University

Used 7+ times

Session 13
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If q is a Queue, this history is linearizable.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If q is a Stack, this history is linearizable.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If q is an Atomic Register, this history is linearizable.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Java method declared as synchronized is lock-free.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A lock-free method always finishes in a bounded number of steps, independent of other threads.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A wait-free method always finishes in a finite number of steps, independent of other threads.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A lock and a semaphore that allows up to one thread in the critical section are semantically equivalent.

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?