Advanced Java (November – 2015) [CBSGS - 75:25 Pattern | Question Paper]


[Question Paper] Advanced Java (75:25 Pattern) [November – 2015]
[Question Paper] Advanced Java (75:25 Pattern) [November – 2015]

DOWNLOAD
➥ Download: PDF
➥ View: PDF
➥ View (Image): @Pinterest | @Flickr

B.Sc.IT: Semester – V
[Advanced Java]
Question Paper (November – 2015) [75:25 Pattern]

Time: 2 ½ Hours
Total Marks: 75


N.B.:   (1) All Question are Compulsory.
            (2) Make Suitable Assumptions Wherever Necessary And State The Assumptions Made.
            (3) Answer To The Same Question Must Be Written Together.
            (4) Number To The Right Indicates Marks.
            (5) Draw Neat Labeled Diagrams Wherever Necessary.

Q.1 Attempt Any Two Of The Following: (10 Marks)
(A) Explain the use of Adapter Classes with suitable example.
(B) Explain the Event Delegation Model.
(C) Write AWT based Java program that will read a string from user and display the number of characters in the string.
(D) List various Event Listener interfaces. Explain any two.

Q.2 Attempt Any Two Of The Following: (10 Marks)
(A) Write a Java program using Swing components that displays table containing employee information.
(B) What is use of JColorChooser? Write down the Constructors and Methods of the same.
(C) Write a Java program using Swing components to display Tabbed Pane with three tabs for First for First Year, Second for Second Year and Third for Third Year. Every tab displays a list of all subjects of the respective years.
(D) Explain JTree with example.

Q.3 Attempt Any Two Of The Following: (10 Marks)
(A) Explain the ServletRequest and ServletResponse interface of Servlet.
(B) Write a Servlet programs to display the factorial of a given number.
(C) What is Servlet? What are different tasks carried out by servlets?
(D) List various classes of Servlets API. Write the purpose of each.

Q.4 Attempt Any Two Of The Following: (10 Marks)
(A) What are the disadvantages of JSP? Explain.
(B) List various directives of JSP. Explain any two.
(C) List and explain different types of JDBC Drivers.
(D) Write the purpose of the following JDBC Classes:
      (i) DriverManager
      (ii) ResultSet
      (iii) Statement
      (iv) Connection
      (v) PreparedStatement

Q.5 Attempt Any Two Of The Following: (10 Marks)
(A) List and explain various Phases of JSF Lifecycle.
(B) What is Facelet? Write the features of Facelet.
(C) Write the benefits of EJB.
(D) Write the code that defines Stateless Bean which converts an amount from one currency to another.

Q.6 Attempt Any Two Of The Following: (10 Marks)
(A) What are Interceptors in Struts? Explain the execution flow of interceptors.
(B) With suitable diagram explain the Architecture of Hibernate.
(C) What is Value Stack? Explain.
(D) What is the purpose of Hibernate Mapping File?
Write the Hibernate Mapping File that maps the application to the table GuestBook of GuestBook database, GuestBook table contains the columns VisitorNo (Unique) Integer, VisitorName varchar(75), VisitorMessage varchar(100), MessageDate varchar(20).

Q.7 Attempt Any Three Of The Following: (15 Marks)
(A) Write AWT based Java program that demonstrate the use of checkbox and radiobuttons.
(B) Write a Java program using Swing Components to divide the window into two horizontal Windows. First window displays a text box, a label and a button, Textbox is used to accept a number from user. When user clicks on button the table of the number is displayed in second window.
(C) What is the purpose of WB-INF file? Explain.
(D) Explain the Request and Response Implicit Objects of JSP.
(E) List and explain different types of Enterprise Beans.
(F) What is the use of Action Component of Struts? Write and explain roles of Action Component.


0 Comments