Komposter
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Among Us
Used 27+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Python Quiz
Quiz
•
University
15 questions
SIMKOM
Quiz
•
12th Grade - Professi...
10 questions
Kuis 3 - ASD (B)
Quiz
•
University
10 questions
DBMS - Concurrency Control
Quiz
•
University
15 questions
C Programming Array Concepts
Quiz
•
University
10 questions
N4 Theory - Manuscript Signs
Quiz
•
University
13 questions
Google Slides Review (4th)
Quiz
•
4th Grade - University
15 questions
Data Security Worksheet
Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
