LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034
M.Sc. DEGREE EXAMINATION – COMPUTER SCIENCE
|
FIRST SEMESTER – APRIL 2007
CS 1805 – OOPS THROUGH JAVA
Date & Time: 27/04/2007 / 1:00 – 4:00 Dept. No. Max. : 100 Marks
PART-A
Answer all questions 10 x 2 = 20
- What is Byte code?
- List two methods of string class with examples.
- Differentiate between throw and throws.
- Define Multithreading
- Define Event and Event Listener.
- What is a Listener interface?
- What is a swing?
- Define JAR files.
- What is Bean?
- What are cookies?
PART-B
Answer all Questions 5 x 8 = 40
- a) Differentiate between method overloading and method overriding. (or)
- b) Discuss about the different data types in java.
- a) Explain java packages. Discuss the access specification. (or)
- b) Define threading? Explain various methods available for managing threads.
- a) Describe the applet skeleton. Discuss the architecture of an applet. (or)
- b) Briefly state how a frame window is created in an applet
- a) Explain the various swing components (or)
- b) What is a java bean? Write about bound and constrained properties.
- a) What is a servlet? Write about developing a simple servlet (or)
- b) Explain the types of drivers available in java for accessing the database.
PART-C
Answer any two Questions 2 x 20 = 40
- a) Elaborate on the control flow statements (10 Marks)
- b) Discuss in detail about constructor. (10 Marks)
- a) Explain the various mouse events in java. (10 Marks)
- b) Discuss about implementing interfaces (10 Marks)
- a) Write a short note on (5 x 2 = 10 Marks)
i . Icon
- Label
iii. Text field
iv Button
v Combo boxes
- b) Write in detail about java database connectivity. (10 Marks)