Search Header Logo

Socket 1 Rodada

Authored by Sergio Knapik

Information Technology (IT)

University

8 Questions

Used 1+ times

Socket 1 Rodada
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que é um socket em Java?

Um tipo de variável

Um tipo de exceção

Uma interface gráfica

Uma conexão entre dois computadores

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual pacote contém as classes de socket em Java?

java.util

java.socket

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual classe é usada para criar um socket do lado cliente?

ServerSocket

SocketServer

Socket

ClientServer

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual método conecta um cliente a um servidor usando socket?

bind()

connect()

start()

listen()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que ServerSocket representa?

Um canal de saída

O lado servidor de uma conexão socket

Um tipo de arquivo

Um tipo de buffer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Em qual porta roda normalmente um servidor web?

25

21

80

110

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que significa accept() em ServerSocket?

Fecha o servidor

Aguarda uma conexão de cliente

Envia uma mensagem

Inicia a aplicação

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?