
Java Networking Quiz

Quiz
•
Computers
•
1st Grade
•
Hard
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
Similar Resources on Wayground
30 questions
IPO CYCLE YEAR 5

Quiz
•
1st - 5th Grade
30 questions
Computer Studies Quiz

Quiz
•
1st - 5th Grade
25 questions
Database System DKC4312

Quiz
•
1st - 5th Grade
24 questions
AZ-900 week 2

Quiz
•
1st - 5th Grade
26 questions
html

Quiz
•
KG - 12th Grade
25 questions
Analisis Data

Quiz
•
1st - 5th Grade
25 questions
Administrasi Infrastruktur Jaringan

Quiz
•
1st Grade
25 questions
Data Mining

Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade