MindSpace - Networking

MindSpace - Networking

University

15 Qs

quiz-placeholder

Similar activities

Module8- Routing Switching- IPv6 dynamic address

Module8- Routing Switching- IPv6 dynamic address

University

10 Qs

Konfigurasi VLAN

Konfigurasi VLAN

University

10 Qs

It is all about IPv6

It is all about IPv6

University

20 Qs

Advanced CyberCamp Day 1 & 2 Review

Advanced CyberCamp Day 1 & 2 Review

KG - Professional Development

20 Qs

Internet Address

Internet Address

University

15 Qs

InetAddress

InetAddress

University

20 Qs

MySQL Python Connectivity

MySQL Python Connectivity

12th Grade - University

10 Qs

Network services

Network services

University

20 Qs

MindSpace - Networking

MindSpace - Networking

Assessment

Quiz

Computers

University

Medium

Created by

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

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?