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
15 questions
POST-TEST MODUL 1 APSI

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
10 questions
SQL_Join's

Quiz
•
University
14 questions
Data Structure

Quiz
•
University
5 questions
Python - Numpy Quiz 1

Quiz
•
University - Professi...
10 questions
SQL Avanzado1

Quiz
•
University
10 questions
Quiz sobre Arrays em JavaScript

Quiz
•
University
11 questions
Array

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade