Java Networking Quiz

Java Networking Quiz

1st Grade

29 Qs

quiz-placeholder

Similar activities

SCM - Chapter 3

SCM - Chapter 3

1st Grade

26 Qs

OCR Cambridge National ICT LO3

OCR Cambridge National ICT LO3

KG - Professional Development

34 Qs

comp sci java

comp sci java

KG - 12th Grade

24 Qs

Introduction to Hardware and Software

Introduction to Hardware and Software

1st Grade

25 Qs

Network Basic

Network Basic

1st Grade

24 Qs

Microsoft Excel

Microsoft Excel

1st Grade

25 Qs

High-level Programming languages

High-level Programming languages

KG - 3rd Grade

25 Qs

Understanding computer Systems

Understanding computer Systems

1st Grade

25 Qs

Java Networking Quiz

Java Networking Quiz

Assessment

Quiz

Computers

1st Grade

Hard

Created by

Wyatt Beals

Used 1+ times

FREE Resource

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a ServerSocket do in Java?

It sends data to the client.

It enables writing servers to listen for incoming network connections.

It creates a graphical user interface.

It manages the security of a network.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to listen for communications on a port using the ServerSocket class?

getInputStream()

getOutputStream()

accept()

connect()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when a ServerSocket accepts a connection?

It initiates a connection to the client.

It sends a request to the client.

It returns a Socket object that connects the client to the server.

It closes the connection immediately.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which classes are used to exchange byte streams over the socket?

ServerSocket and Socket

InputStream and OutputStream

DataInputStream and DataOutputStream

FileInputStream and FileOutputStream

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of closing a Socket?

It opens a new connection.

It sends a message to the server.

It breaks the connection between the local and remote hosts.

It upgrades the connection to a secure protocol.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which historical example of optical telegraph was invented by the Chappe Brothers?

Internet

Semaphore lines

Morse Telegraph

Telephone

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In what year was The Associated Press formed to pool Telegraph expenses?

1791

1835

1848

1871

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?