Advanced Java (May – 2018) [IDOL: Old Course | Question Paper]


Advanced Java (May – 2018) [IDOL: Old Course | Question Paper]
Advanced Java (May – 2018) [IDOL: Old Course | Question Paper]

DOWNLOAD @
PDFPDF
Text
Torrent
G-Drive
SlideShare

Time: 3 Hours
Total Marks: 100


NOTES:
(1) Question No. 1 is Compulsory.
(2) Attempt any four from Question Nos. 2 to 7.
(3) Make suitable assumptions wherever necessary and state the assumptions made.
(4) Answers to the same question must be written together.
(5) Numbers to the right indicate marks.
(6) Draw neat labeled diagrams wherever necessary.


Q.1. Attempt The Following Questions: (20 Marks)
(A) Write a short note on JLabel and JButton with an example program.
(B) Explain the steps to be followed in Java Database Connectivity for accessing a database table content.
(C) What are servlets? Explain the request/response paradigm of servlets.
(D) Write a JSP program to accept a number from the HTML form, and find its square root and cube root.

Q.2. Attempt The Following Questions: (20 Marks)
(A) List and explain the layout orientation used for JList? Give suitable example.
(B) Write a short note on JTree with an example.
(C) Create a GUI program that add tabs in a window. Add three tabs tab1, tab2 and tab3 that load Panel1, Panel2 and Panel3 respectively. Panel1 consist of 2 labels, Panel2 consist of 2 textboxes and Panel3 consist of two radio buttons.

Q.3. Attempt The Following Questions: (20 Marks)
(A) Explain the following:
      (i) Root Pane
      (ii) Glass Pane
      (iii) Layered Pane
      (iv) Content Pane
(B) Write a short note on JPanel.
(C) Explain the procedure of creating message, input and confirmation dialogs in swing.

Q.4. Attempt The Following Questions: (20 Marks)
(A) Write a short note on JDBC Architecture.
(B) Explain Connection interface along with its methods.
(C) What is mean by ResultSetMetaData interface? List down the methods of ResultSetMetaData interface.

Q.5. Attempt The Following Questions: (20 Marks)
(A) Write a JDBC program that inserts dynamic values into a student table by accepting the values from the user. The structure of student table is (rollno, name and marks).
(B) Define the Servlet interface. Describe the methods of Servlet Interface.
(C) Explain the life cycle of a servlet.

Q.6. Attempt The Following Questions: (20 Marks)
(A) Write a servlet program to find the number is prime or not.
(B) Describe the various methods of HttpServletRequest and HttpServletResponse interface.
(C) What is JAR files? List and explain various options used while creating a JAR file.

Q.7. Attempt The Following Questions: (20 Marks)
(A) Explain the following:
      (a) JSP scriptlets
      (b) JSP expressions
      (c) JSP Comments
      (d) JSP declarations
(B) Enlist the implicit objects of JSP. Explain any 4 of them in detail.
(C) Explain with an example how session management is done in JSP.


0 Comments