
Tutorium 14

Quiz
•
Computers
•
University
•
Medium

Ricardo Keiling
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Welches Problem behebt wait-notify?
Es findet kein Busy-Waiting mehr statt, da die Threads aufgeweckt werden, anstatt das sie dauerhaft überprüfen ob eine Bearbeitung möglich ist
wait-notify behebt die Entstehung von Deadlocks
wait-notify behebt Race Conditions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Die Datei um die es geht liegt im selben Ordner wie diese Codezeile der Main Datei.
Welcher Pfad muss hier angegeben werden?
Der absolute Pfad oder der relative Pfad ausgehend vom Projekt Ordner
es darf nur der absolute Pfad angegeben werden
der relative Pfad ausgehend vom src Ordner
Der absolute Pfad oder der relative Pfad vom src Ordner
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Welcher Datentyp wird von der in.read() Methode zurückgegeben?
int
String
char
char[]
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Warum gibt es das AutoClosable Interface in Java?
Vermeidung eines schreibaufwändigen finally Blocks, wo die Streams geschlossen werden
Ohne AutoClosable kann man Streams nicht schließen
AutoClosable ermöglicht das automatische Schließen aller Klassen
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Wie kann man durch Streams ganze Zeilen auslesen?
Verwendung eines BufferedReader
Verwendung eines BufferedWriter
Verwendung eines PrintWriter
Verwendung eines FileInputStream
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Welche Parameter bekommt ein ServerSocket übergeben?
Nur Port
Nur IP-Adresse/URL
IP-Adresse/URL und Port
ein ServerSocket ist parameterlos
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Welche Parameter bekommt ein Socket übergeben?
IP-Adresse/URL und Port
Nur IP-Adresse/URL
Nur Port
ein Socket ist parameterlos
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie kann ein Server eine Verbindung zum Client herstellen?
1. Erstellung ServerSocket
2. Erstellung Socket mit server.accept()
1. Erstellung ServerSocket
2. wait(ServerSocket)
1. Erstellung ServerSocket
2. server.getInputStream()
1. Erstellung ServerSocket
2. server.getOutputStream()
Similar Resources on Wayground
10 questions
Test1 Servidores II 13/08/2024

Quiz
•
University
10 questions
Componentes de la arquitectura de SQL Server.

Quiz
•
University
8 questions
Internet Grundlagen

Quiz
•
5th Grade - University
8 questions
Network Architecture

Quiz
•
12th Grade - University
10 questions
Komputer Server vs Komputer Client

Quiz
•
12th Grade - University
10 questions
Quiz 1: Introducción a Windows Server

Quiz
•
University
10 questions
KSK1024 Ulangkaji Bab 1 - 3

Quiz
•
University
12 questions
EinfInf Wiederholung

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University