
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
7 questions
ISDA Tut 01
Quiz
•
University
5 questions
python - torki
Quiz
•
University
11 questions
PM 02-Tätigkeiten und Vorgehensmodelle
Quiz
•
University
10 questions
VLPM 2023-02
Quiz
•
University
10 questions
Tut 04 : CSS, JS functions
Quiz
•
University
10 questions
VLPM2023-10
Quiz
•
University
9 questions
Java Quiz (2)
Quiz
•
10th Grade - University
9 questions
Tut2 - If / Else + Switch Cases
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
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
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University