WT QP
WT QP
B.E / B.Tech ( Full Time ) DEGREE END SEMESTER EXAMINATIONS, APRIL / MAY 2014
(Regulation -2012)
Part - B ( 5 x 16 = 80 marks)
11. a. Write a java code to construct the class to represent a building, then as house or office
complex or as apartments. Use appropriate inheritance concepts
b. Get the student marks using an applet and display the mark sheet with grade.
Validate the required fields.
12. a) Write a client program has to get two numbers from the user and send to compute
server. Find the additioiynultiplication of two numbers at compute server and send
the result back to client. Implement using RMI.
(OR)
b) The File server maintains multiple files. The client should upload 2 files to file
server say filel and file2. He wants to download the concatenation of these two file
contents, as file3 from the server. Implement this extend featured FTP protocol
using TCP.
13. a) a. Get the students' details like name, register number and mark using form.
Generate DTD for this XML document.
Roll No.
Reg no Mark
Xyz 1000 90
Abe 1001 80
Rst 1002 89
Pqr 1003 87
Generate the collecfe<rrntOTrriation iri Thedesceiidmg urder ofmarks-tising XSLT.- -
_
(OR)
b) Get the employee details like name, employee number and salary from database.
Retrieve these details using AJAX framework.
14. a) i. Create cookies with name of person and secret code at the server after
getting these details from client using HTML form. Display these details at
the server side using Http servlet.
ii. Display the current and yesterday's gold rate using session object.
(OR)
b) Get the details of the items to be purchased from a client and update the inventory
of the shop after selling. Prepare the bill for the client. Maintain the transaction
table also just by inserting these purchased item details at the shop. Implement it
using JDBC.
(OR)
b) Get name and age of a person from client with HTML form. Validate these details
at the client using java script. After submitting these details after validation, these
details should be inserted in a table at the server side using JSP.