W12 Mittwoch

W12 Mittwoch

University

13 Qs

quiz-placeholder

Similar activities

Cryptography Chap-1

Cryptography Chap-1

9th Grade - Professional Development

15 Qs

Topic 2 - Cloud Computing Platform

Topic 2 - Cloud Computing Platform

University

15 Qs

SQL Practice

SQL Practice

University

13 Qs

I Can Code!

I Can Code!

KG - University

10 Qs

Technology for Teaching and Learning

Technology for Teaching and Learning

University

10 Qs

Linux Basics

Linux Basics

9th Grade - University

10 Qs

Imposter

Imposter

University

13 Qs

OPERATING SYSTEM

OPERATING SYSTEM

University

18 Qs

W12 Mittwoch

W12 Mittwoch

Assessment

Quiz

Computers

University

Medium

Created by

Hansjörg Schraubenzieher

Used 1+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

OPTIMISTIC implementation of ADD() method. Are bad interleavings possible?

No, code is correct.

Yes, because curr and pred are being unlocked in wrong order.

Yes, because of an error in the code logic.

Yes, because pred.next is set before entry.next.

Yes, because list is traversed without locks.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are advantages of lazy vs. optimistic synchronization?

Lazy sync. requires no lock acquisitions.

add()/remove() require less lock acquisitions

add()/remove() require less list traversals

remove() is in O(1)

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

A stack with these push() and pop() operations is non-blocking.

True

False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Wait-Free implies Starvation-Free

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Lock-Free implies starvation-free.

True

False

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Wait-Free implies Lock-Free

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Lock-free implies deadlock-free.

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?