You are on page 1of 1

SRI SAI DEGREE COLLEGE - BOBBILI

Computer Science
(Programming Using Java and Data Structures)
Pre - Public Examination
Time: 3:00 Hrs., Max. Marks: 75
Section - A
Answer ALL Questions.
1. a) What is Object oriented programming. Explain the concepts of OOP?
b) Explain the features of java.
OR
c) Explain the structure of a java program.
d) Explain data types in Java.
2. a) Write about control statements in Java.
b) Explain different types of arrays.
OR
c) Write a program to biggest number in a set of numbers.
d) Write a program to sort the given numbers.
3. a) Explain classes and objects with an example.
b) What is a Vector and explain differences between arrays and vectors.
OR
c) Write a program to find the product of two matrixes.
d) What are wrapper classes? Explain.
4. a) Write about inheritance with example program. Explain types of inheritance?
b) Explain life cycle of a thread using neat diagram.
OR
c) Write an algorithm and program for binary search operation.
d) Write about stack and its operations.
Section - B
II. Answer Any FIVE Questions.
1. Write about exception handling and try-catch mechanism.
2. What is a queue and what are the operations defined on it.
3. Explain quick sort with an example.
4. What is the difference between overloading and overriding?
5. How is the multiple inheritances achieved in java?
6. Write about states of an applet life cycle and its methods.
7. What is purpose of join method in threads? Explain with an example.
8. Explain operators in Java.
Section - C
Answer ALL Questions.
1. What is the difference between an application and an applet?
2. Write any 4 String methods.
3. What is D-Queue?
4. What is type casting?
5. Write a program to print the bigger of two numbers without using "if".
6. Write about abstract method.
7. What is the difference between String and StringBuffer?
8. What is an event? Explain with an example.
9. What is WWW? Explain the how java is associated with WWW.
10. What is a variable length array? Define.

7806901234

You might also like