Advanced Java (April – 2014) [IDOL - Old Course | Question Paper]





B.Sc.IT: Semester – V
[Advanced Java]
Question Paper (April – 2014) [Old Syllabus]

Time: 3 Hours
Total Marks: 100


N.B.:     (1) Question No. 1 is Compulsory.
              (2) Attempt any four questions from Q.2 – Q.7.
              (3) Make suitable assumption whenever necessary and state the assumption made.
              (4) Answers to the same questions must be written together.
              (5) Numbers to the right indicate marks.
              (6) Draw a neat labelled diagram and give example whenever necessary.

Q.1 Attempt The Following Question: (20 Marks)
(A) Why is JPanel used in Swing? State and explain constructors used for creating JPanel.
(B) Explain Life Cycle of Servlet.
(C) Explain in detail Introspection feature of Java Beans.
(D) Explain DriverManager Class and its methods.

Q.2 Attempt The Following Question: (20 Marks)
(A) Write a program to create Color Bean. It appears as either a rectangle or ellipse that is filled with a color. Color is chosen at random when the Bean begins execution. Each time mouse is clicked on Bean, another random color is chosen.
(B) Explain in detail JRadioButton covering following:
Purpose, Constructors, Methods, Events
(C) State and explain the characteristics of servlets.

Q.3 Attempt The Following Question: (20 Marks)
(A) What is JScrollPane? How to include it in a page? Explain various constructors. Write a program that will use JScrollPane to display 400 buttons.
(B) Write a servlet that accepts empcode, name, and dept sent from a HTML document (emp.html) and display them on screen. Also give the code for emp.html document.
(C) What are JSP Implicit Object? State and explain the various Implicit Objects available in JSP.

Q.4 Attempt The Following Question: (20 Marks)
(A) Explain in detail ResultSet and ResultSetMetaData class.
(B) Write a SERVLET that accepts BookId, BookName, Author and Publisher from a HTML document (book.html) and display them on screen. Also give the code for book.html.
(C) Explain JCheckBoxes with its constructors. Give example.

Q.5 Attempt The Following Question: (20 Marks)
(A) Write a note on “Handling Cookies in Servlet” covering following steps:
      (i) Definition of Cookie
      (ii) Benefits of Cookies
      (iii) Methods of Cookies (Any Three)
(B) Write a JDBC Program that inserts values in database using prepared statement through keyboard input. [TABLE NAME: Department. FIELDS: DeptNo, Name, Location]
(C) Explain bound property of Bean giving example.

Q.6 Attempt The Following Question: (20 Marks)
(A) What is JAR File? What are the options available with JAR files? Explain the role of Manifest file.
(B) Explain any three Layout Manager with example.
(C) Explain constrained property of bean giving example.

Q.7 Attempt The Following Question: (20 Marks)
(A) State and explain any four interfaces and any four classes available in Java Beans API.
(B) Write JSP Program that will compute all multiple of 3-numbers between 1 and 100.
(C) Why are JDBC Drivers needed? Explain different types of JDBC Drivers.



NOTE:
If You're a B.Sc.IT Student of Mumbai University...and you've a previous year question papers then please mail us @ kamalbscit@yahoo.in

0 Comments