
Prog2 Tut 10 - Thread Sicherheit
Authored by Loris Galler
Computers
University
Used 17+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was beschreibt eine Race Condition korrekt?
Wenn zwei Prozesse sich gegenseitig blockieren
Wenn der Scheduler zufällig Prozesse auswählt
Wenn das Ergebnis vom Zeitpunkt und der Reihenfolge bestimmter Ereignisse abhängt
Wenn ein Programm mit nur einem Thread arbeitet
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist ein kritischer Bereich?
Ein nicht verwendeter Codeabschnitt
Eine Methode, die keine Rückgabewerte liefert
Ein Codeblock, der auf gemeinsam genutzte Ressourcen zugreift
Eine Konstante
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Welche Techniken dienen dem Schutz kritischer Bereiche?
Arrays, Strings, Maps
If-Else, Switch-Case
Semaphore, Monitore, gegenseitiger Ausschluss
Rekursion, Iteration, Vererbung
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist ein Monitor im Kontext von Nebenläufigkeit?
Ein Bildschirm für Threads
Ein Debugging-Tool
Eine Art von Prozess
Ein Sprachkonstrukt zur Synchronisierung von Threads
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Scala ist synchronized eine Methode von AnyRef.
false
true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist ein Semaphor?
Ein anderer Begriff für Stack
Eine Zählvariable mit Steuerungsfunktionen
Ein Programmierstil
Ein Dateityp
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was passiert bei einem release() eines Semaphors?
Ein Thread wird gestartet
Die Semaphore-Zahl wird dekrementiert
Die Semaphore-Zahl wird inkrementiert
Der Prozess wird beendet
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
12 questions
01 HTML/CSS Einführung
Quiz
•
University
10 questions
Variablen und Vergleiche
Quiz
•
University
10 questions
PROSES DAN SINKRONISASI
Quiz
•
University
9 questions
Ch06-Synchronization Tools_part2
Quiz
•
University
7 questions
ER-Modell & Relationenmodell
Quiz
•
University - Professi...
5 questions
Details zum Vertrieb mit S/4HANA 2020
Quiz
•
University - Professi...
5 questions
Medienpädagogik
Quiz
•
University
10 questions
Tutorium1
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University