Komposter

Komposter

University

10 Qs

quiz-placeholder

Similar activities

IOTA : Web Development Bootcamp Quiz 2

IOTA : Web Development Bootcamp Quiz 2

University

14 Qs

pointers and structures

pointers and structures

University

10 Qs

Web Dev Midterm Quiz

Web Dev Midterm Quiz

University

15 Qs

Belajar Microsoft Exel

Belajar Microsoft Exel

University

10 Qs

MS Word Review

MS Word Review

9th Grade - Professional Development

10 Qs

PHP - Syntax & Output

PHP - Syntax & Output

University

15 Qs

BFS and DFS - Data Structures

BFS and DFS - Data Structures

University

15 Qs

07 - Map

07 - Map

University

15 Qs

Komposter

Komposter

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Among Us

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What best describes Lazy Synchronization?

Using as few locks as possible

Perform changes using flags and labels rather than full modifications

Locking the entire method

Only performing sequential work

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What best describes Coarse-Grained Locking?

Locking large parts of a method to prevent interleavings

Dividing the code into a few lockable submethods

Dividing the code into many lockable submethods

Locking a block using one lock rather than multiple separate ones

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What best describes Optimistic Synchronization?

Replacing all locks with wait-free methods

Replacing all wait-free methods with locks

Performing changes first and only commit all after validation

Validating and committing changes one-by-one

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What best describes Fine-Grained Locking?

Split objects into pieces with separate locks

Using multiple locks for critical sections

Using locks only when necessary, otherwise wait-free methods

Using validations during locking to prevent bad interleavings

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What best describes a "reduce" operation?

Modifying each element of an array independent of eachother

Modifying an array & Outputting a single value

Modifying elements of an array depending on other elements

Outputting a single value based on an array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can hand-over-hand locking be implemented by Java's "synchronized" keyword?

Yes

No

I don't know :(

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following always generates "happens-before" relationships?

Reading/Writing of volatile int

Locking operations

Program order inside a thread

Reading/Writing of int

Global program order

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