MindSpace - Networking

Quiz
•
Computers
•
University
•
Medium
Atul Bondre
Used 17+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of this package contains classes and interfaces for networking?
java.io
java.util
Java.net
java.network
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many bits are in a single IP address?
8
16
4
32 OR 128
64
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these class is used to encapsulate IP Address and Domain Name (Host Name)?
DatagramPacket
URL
InetAddress
URLConnection
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
InetAddress class object represents ________ and _________ .
MAC Address
IP Address
Host (Domain) Name
URL Address
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of this program?
class networking
{
public static void main(String[] args)
throws UnknownHostException
{
InetAddress ob1 = InetAddress.getByName("sanfoundary.com");
InetAddress ob2 = InetAddress.getByName("sanfoundary.com");
boolean x = ob1.equals(ob2);
System.out.print(x);
}
}
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this program?
class networking
{
public static void main(String[] args)
throws UnknownHostException
{
InetAddress obj1 = InetAddress.getByName("cisco.com");
System.out.print(obj1.getHostName());
}
}
cisco
cisco.com
www.cisco.com
All of the given
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
InetAddress class has constructors.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
WebFundamentals

Quiz
•
University
10 questions
Module 9-Address Resolution Protocol

Quiz
•
9th Grade - Professio...
20 questions
CN Quiz

Quiz
•
University
15 questions
COMPUTER NETWORK & SECURITY (QUIZ #4) MIDTERM 2024

Quiz
•
University
20 questions
Module 7

Quiz
•
University
13 questions
L10 OS LAB WS24 14-2-24

Quiz
•
University
15 questions
Internet Basics

Quiz
•
University
11 questions
Computer Networks Quiz

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade