
MindSpace - Networking
Authored by Atul Bondre
Computers
University
Used 17+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Software Engineering Quiz 1
Quiz
•
University
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
20 questions
WML & WAP
Quiz
•
University
10 questions
T02: Python - The Basics
Quiz
•
University
10 questions
DBMS 1
Quiz
•
University
15 questions
ENGINEERING DATA ANALYSIS PRELIM
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade