Komposter

Quiz
•
Computers
•
University
•
Medium

Among Us
Used 27+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Locking Protocols and Recovery Management

Quiz
•
University
10 questions
SQL JOINS

Quiz
•
University
15 questions
Business Operations and Network Analysis Quiz

Quiz
•
12th Grade - University
15 questions
AV1/R1 3TEC_Banco de Dados - Chave Primária

Quiz
•
1st Grade - University
10 questions
Quiz sobre Relaciones en Bases de Datos

Quiz
•
12th Grade - University
15 questions
Logo Creation in Photopea

Quiz
•
7th Grade - University
13 questions
SQL Practice

Quiz
•
University
5 questions
Database Indexes and Locks Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University