Sie sind auf Seite 1von 2

DISTRICT RESOURCE CENTRE

MAHBUBNAGAR
PRE-FINAL EXAMINATIONS - JAN / FEB -2011 B.Sc.
(Computer Science): II Year: Theory Paper-2
Object Oriented Programming with Java and Data Structures

Time: 3Hrs Max. Marks: 100

__________________________________________________________________________________

Section. A

Answer ALL Questions 10 *


2 = 20

1. a) Difference between applet and Standalone applications?

b) Is a Java Program compiled or Interpreted? Justify?

c) Difference between String and String Buffer.

d) What are the components of Java Development kit?

e) Write rules of thumb?

g) How can you compile a package?

h) Write attributes of applet tag.

i) Define Stack.

j) Define Completed Graph.

Section. B

Answer ALL Questions 5*


16 = 80

2. a) Explain the merits and demerits of Object Oriented

Programming.

b) How is java associated with World Wide Web?

(Or)

c) Explain about the Structure of Java Program.

d) What are different data types in Java?


3. a) Discuss Type Conversion in Expressions.

b) Explain Control Structures in Java.

(Or)

c) What is the difference between Overloading and Overriding?

d) Explain Visibility Access in Java.

4. a) Write steps to create and access a package?

b) Explain difference between vectors and arrays.

(Or)

c) How multiple inheritances achieved in Java?

d) What are wrapper classes?

5. a) Write a Life Cycle of a thread with a neat diagram?

b) Write syntax for handling exceptions in Java?

(Or)

c) How can you create an executable Applet?

d) How can you give priorities to Threads?

6. a) Define linked list. What are the advantages of linkedlists?

b) Explain about preorder traversal of a tree with example.

(Or)

c) Explain priority queue.

d) Explain Quick Sort with example.

Das könnte Ihnen auch gefallen