Prog2 tut9 - Threads

Quiz
•
Computers
•
University
•
Medium
Loris Galler
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist ein wesentlicher Unterschied zwischen Prozessen und Threads?
Threads besitzen einen eigenen Adressraum
Threads können mehrere Prozesse enthalten
Prozesse besitzen mindestens einen Thread und einen eigenen Adressraum
Prozesse teilen sich die Ressourcen eines Threads
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Prozesse sind Threads untergeordnet.
wahr
falsch
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Der Stack wächst und schrumpft dynamisch mit dem Programmverlauf.
wahr
falsch
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was wird im Heap gespeichert?
primitive lokale Variablen
Methodenparameter
Objekte und Instanzvariablen
CPU-Register
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wo werden primitive lokale Variablen gespeichert?
Heap
Stack
Datenbereich
USB Stick
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist ein Vorteil der Runnable-Implementierung gegenüber dem Vererben von Thread?
Besserer Zugriff auf den Stack
Mehr Performance
Mehrfachvererbung
Direkte Garbage Collection
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Die Methode run() startet einen neuen Thread.
true
false
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Welche Methode versetzt einen Thread in den Zustand „Timed Waiting“?
yield()
start()
sleep(1000)
notifyAll()
Similar Resources on Wayground
5 questions
FontysVenlo - PRC2 - W11 - Concurrency

Quiz
•
University
10 questions
Quiz#1: Python

Quiz
•
University
12 questions
Threads in C# Quiz

Quiz
•
University
12 questions
Understanding Threads in Operating Systems

Quiz
•
University
6 questions
Lecture 10 quiz

Quiz
•
University
10 questions
Quiz-O-Tech Round 2

Quiz
•
University
9 questions
Tut2 - If / Else + Switch Cases

Quiz
•
University
4 questions
Session 4

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