Qual è la classe principale per creare un server TCP in Java?

Socket

Quiz
•
Computers
•
5th Grade
•
Medium
Tea Randon
Used 2+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Socket
ServerSocket
DatagramSocket
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa fa il metodo accept() di ServerSocket?
Invia dati al client
Attende una connessione client
Chiude la connessione
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Per leggere dati da un socket, si utilizza:
getOutputStream()
getInputStream()
getSocket()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale eccezione si verifica se un client tenta di connettersi a una porta non in ascolto?
IOException
ConnectException
SocketException
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa fa il metodo close() di un socket?
Invia dati al server
Rilascia le risorse della connessione
Apre una nuova connessione
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual è la differenza principale tra TCP e UDP?
TCP è più veloce
TCP garantisce l’affidabilità, UDP no
UDP richiede meno porte
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale porta è tipicamente associata ai servizi HTTP?
21
80
443
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Administrasi Sistem jaringan KD1

Quiz
•
1st - 10th Grade
16 questions
Computer Network

Quiz
•
1st - 5th Grade
20 questions
Teknologi Layanan Jaringan kelas XII

Quiz
•
KG - 12th Grade
20 questions
Verifica informatica tasti periferiche e compuetr

Quiz
•
2nd - 5th Grade
18 questions
Corso base di robotica

Quiz
•
3rd - 8th Grade
20 questions
Primo test

Quiz
•
1st - 5th Grade
24 questions
Informatica e Computer

Quiz
•
5th Grade
25 questions
Quiz di Programmazione

Quiz
•
2nd Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Reading Comprehension

Quiz
•
5th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
25 questions
Multiplication Facts

Quiz
•
5th Grade
5 questions
Multiply Decimals

Lesson
•
5th - 6th Grade
12 questions
Interjections

Lesson
•
5th Grade
35 questions
Science Mania Quizizz

Quiz
•
4th - 5th Grade