Loyola College M.Sc. Computer Science April 2011 Oops Through Java Question Paper PDF Download

LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

M.Sc. DEGREE EXAMINATION – COMPUTER SC.

FIRST SEMESTER – APRIL 2011

CS 1805 – OOPS THROUGH JAVA

 

 

Date : 19-04-2011             Dept. No.                                        Max. : 100 Marks

Time : 9:00 – 12:00

 

                                PART – A                                    10×2 = 20 marks

 

Answer all the questions

 

  1. Define the term Polymorphism.
  2. How to achieve multiple inheritances in java.
  3. What is package? Mention the importance of it.
  4. What is a thread?
  5. Define the following terms i) Applet ii) Application.
  6. List out any four exception in Java.
  7. Write any four swing component class.
  8. Write the difference between applet and swing.
  9. What is Servlet?
  10. Write the Syntax to load the driver in JDBC.

 

PART – B                                                  5×8 = 40 marks

Answer all the questions

 

11.a). Explain the following:

  1. i) Inheritance ii) Encapsulation

(Or)

  1. b) Write short notes on features of Java.

 

12.a). Explain about any five packages of Java.

(Or)

  1. b) Write a java program to throw an Arithmetic Exception.

 

13.a) Discuss Dialog Box and File Dialog Box

(Or)

  1. b) Write a java program to perform an action event using Button.

 

 

 

 

14.a) Write about JAR Files.

(Or)

  1. b) What is an interface? How to create an interface in Java.

 

  1. a) Discuss the classes implemented for Servlet API’s.

 

  1. b) Explain the components available for making the java data base connectivity.

 

 

       PART- C                                                 2x 20 =40 marks

Answer any Two

 

  1. a). Explain in detail about multithreading in java with an example.

 

b). Explain the various constructor and constants of default layout with

an example program.

 

  1. a). Discuss in detail about Event Class.

 

b). Explain the following in detail with sample programs

  1. i) JTabbedPane ii) JScrollPane iii) JTable iv) JTree

 

  1. a) Explain the detail about servlet life cycle.

 

  1. b) Write a java program to fetch the data from the table using JDBC.

 

 

Go To Main page

 

 

© Copyright Entrance India - Engineering and Medical Entrance Exams in India | Website Maintained by Firewall Firm - IT Monteur