Programming in Java - - Unit 13 - Week 10 _
Programming in Java - - Unit 13 - Week 10 _
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Week 0 : ()
Week 1 : ()
Week 2 : ()
Week 3 : ()
a. Protocol: https
Week 4 : ()
b. Host Name: nptel.ac.in
Week 5 : () c. Port Number: -1
d. All of the mentioned
Week 6 : ()
Yes, the answer is correct.
Score: 1
Week 7 : () Accepted Answers:
d. All of the mentioned
Week 8 : ()
2) What will be the output of the following Java program? 1 point
Week 9 : ()
https://onlinecourses.nptel.ac.in/noc24_cs105/unit?unit=90&assessment=442 1/4
13/11/2024, 15:28 Programming in Java - - Unit 13 - Week 10 :
Week 10 : ()
Lecture 46 :
Demonstration
-XVII (unit?
unit=90&lesso
n=91)
a. nptel
Lecture 47 : b. nptel.ac.in
Demonstration
c. www.nptel.ac.in
-XVIII (unit?
unit=90&lesso d. none of the mentioned
n=92)
Yes, the answer is correct.
Score: 1
Lecture 48 :
Networking
Accepted Answers:
b. nptel.ac.in
with Java
(unit? 3) Which class provides methods to work with URLs? 1 point
unit=90&lesso
n=93) a. URLConnection
Lecture 49 : b. HttpURL
Demonstration c. NetURL
-XIX (unit?
unit=90&lesso
d. URL
n=94) Yes, the answer is correct.
Score: 1
Lecture 50 :
Accepted Answers:
JDBC - I (unit?
d. URL
unit=90&lesso
n=95)
4) Which exception is thrown when a connection cannot be established with a remote 1 point
Feedback server?
Form (unit?
unit=90&lesso a. IOException
n=96)
b. UnknownHostException
Week 10 : c. ConnectionException
Programming
d. NetworkException
Assignment 1
(/noc24_cs105 Yes, the answer is correct.
/progassignme Score: 1
nt?name=418) Accepted Answers:
b. UnknownHostException
Week 10 :
Programming
5) Which class provides methods to create a client-side socket in Java? 1 point
Assignment 2
(/noc24_cs105
a. ServerSocket
/progassignme
nt?name=419) b. NetSocket
c. Socket
Week 10 :
Programming d. ClientSocket
Assignment 3
Yes, the answer is correct.
(/noc24_cs105 Score: 1
/progassignme
Accepted Answers:
nt?name=420)
c. Socket
https://onlinecourses.nptel.ac.in/noc24_cs105/unit?unit=90&assessment=442 2/4
13/11/2024, 15:28 Programming in Java - - Unit 13 - Week 10 :
Text a. TCP
Transcripts () b. UDP
c. ARP
d. SMTP
https://nptel.ac.in
a. https
b. nptel.ac.in
c. ac.in
d. nptel
S 1
https://onlinecourses.nptel.ac.in/noc24_cs105/unit?unit=90&assessment=442 3/4
13/11/2024, 15:28 Programming in Java - - Unit 13 - Week 10 :
Score: 1
Accepted Answers:
b. nptel.ac.in
https://onlinecourses.nptel.ac.in/noc24_cs105/unit?unit=90&assessment=442 4/4