Hetauda School of Management and Social Sciences
Hetauda School of Management and Social Sciences
F.M. - 60
P.M. - 24
Group B Time - 3 Hrs.
Q 1) What do you understand by client server architecture? How java can be used to implement the client server
model?
Q 2) Explain about “InetAddress” Class. Explain three of its methods with prototype.
Q 3) Why is URL Class used? Explain Relative URL and parts of URL with syntax.
Q 4) What is URL Encoding? Why do we need this? Explain with a program that encodes any URL.
Q 5) Write a program to read data from URL.
Q 6) Write about four HTTP Methods.
Q 7) What is the use of NetworkInterface class? Explain the Basic Features of NetworkInterface Class.
Group C
Q 8) What is RMI? Explain stub and skeleton. Write a program that invokes remote method which will check
whether a user given number is prime or composite.
Q 9) Implement InetAddress class to write a program that checks spams.
Q 10) Write a chat application using TCP client and server socket.