0% found this document useful (0 votes)
73 views3 pages

UNIT 4 - Workbook

This document contains a worksheet for a class on Advanced Java Programming. It includes 10 multiple choice questions about networking basics concepts like protocols, ports, IP addresses, DNS, URLs, and the InetAddress class. Specifically, it asks about TCP vs UDP, the HTTP port number, what protocol is used for web pages, originally IP address lengths, the meaning of DNS, what URL stands for, the class used to encapsulate IP addresses and domain names, common InetAddress constructors, and the exception thrown by InetAddress factory methods.

Uploaded by

Rupesh Rajput
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views3 pages

UNIT 4 - Workbook

This document contains a worksheet for a class on Advanced Java Programming. It includes 10 multiple choice questions about networking basics concepts like protocols, ports, IP addresses, DNS, URLs, and the InetAddress class. Specifically, it asks about TCP vs UDP, the HTTP port number, what protocol is used for web pages, originally IP address lengths, the meaning of DNS, what URL stands for, the class used to encapsulate IP addresses and domain names, common InetAddress constructors, and the exception thrown by InetAddress factory methods.

Uploaded by

Rupesh Rajput
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

JSPM’s

JAYAWANTRAO SAWANT POLYTECHNIC,


HADAPSAR, PUNE-28
COMPUTER ENGINEERING DEPARTMENT
Academic Year 2022-23
WORK BOOK -IV

Subject: Advanced Java Programming Subject code: 22517


Course & Code :CO5I Semester : Fifth
Subject Teacher: Ms. Chavan S. S. Class: TYCO
Unit No 4: Networking Basics
Date: / / 20
Name of the Student: - _______________________________________ Roll No.: -_______

CO4: Develop a java programs using networking concepts.

Answer the following questions:

1 Which is the connectionless protocol?


1. TCP

2. UDP
3. IP

4. HTTP

2 What is the port number of HTTP?


1. 80

2. 23
3. 47

4. 92

3 Which protocol that web browsers and servers use to transfer hypertext pages and
images?

1. TCP/IP

2. UDP
3. HTTP

4. SMTP

4 Originally, all Internet addresses consisted of ____ bit values.


JSPM’s
JAYAWANTRAO SAWANT POLYTECHNIC,
HADAPSAR, PUNE-28
COMPUTER ENGINEERING DEPARTMENT
Academic Year 2022-23
WORK BOOK -IV
1. 32

2. 16
3. 24

4. 8

5 What is the full form of DNS?

1. Domain Naming System


2. Domain Naming Service

3. Domain Naming Software


4. Domain Naming Security

6 What is URL?
1. Unicast Resource Location

2. Uniform Research Launcher

3. Universal Research Locator


4. Uniform Resource Locator

7. What is the full form of DNS?

e) Domain Naming System


f) Domain Naming Service

g) Domain Naming Software


h) Domain Naming Security

8. Which class is used to encapsulate both the numerical IP address and the domain name
for that address?

a) InetAddress
b) SocketAddress

c) IPAdress
JSPM’s
JAYAWANTRAO SAWANT POLYTECHNIC,
HADAPSAR, PUNE-28
COMPUTER ENGINEERING DEPARTMENT
Academic Year 2022-23
WORK BOOK -IV
d) DNSSockets

9 Which of the following constructor of InetAddress is generally used?


a) InetAddress()

b) InetAddress(int port)

c) InetAddress(URL url)

d) There is no any visible constructor for InetAddress

10. Factory method of InetAddress class throws which of the following exception?

e) MalFormedURLException

f) UnknownHostException

g) URLException
h) MalFormedURLIOException

Subject Teacher HOD


(Ms. Chavan S.S) Mr. Kalbande M. S.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy