Exam Details
Subject | object oriented programming through java | |
Paper | paper 1 | |
Exam / Course | m.sc. computer science | |
Department | ||
Organization | rayalaseema university | |
Position | ||
Exam Date | May, 2018 | |
City, State | andhra pradesh, kurnool |
Question Paper
M.Sc. DEGREE EXAMINATION, APRIL/MAY, 2018.
Second Semester
Computer Science
Paper OBJECT ORIENTED PROGRAMMING THROUGH JAVA
(CBCS Old Syllabus)
2 20921-AA
Time 3 Hours Max. Marks 70
PART — A
Answer any FIVE questions. 6 30 Marks)
1. What is Conductor? Explain constructor overloading with example.
2. Discuss public, private, protected and default access modifier with example.
3. Explain about try, catch and throw in exception handling.
4. What is package? Explain steps to create package with example.
5. Draw and explain lifecycle of Applet.
6. Explain garbage collection and finalize method in JAVA.
7. Explain utility class ArrayList and Hash table.
8. Explain Delegation Event model.
PART — B
Answer ALL questions. 10 40 Marks)
9. Write a program which shows an example of function overriding?
What is variable? How to define variables in java? Also list rules for valid
variable names.
Or
What is inheritance? How to implement different types of inheritance in
Java?
10. What is Exception? Give some of Built-in exceptions in java. Also give
difference between throw and throws.
Or
Write an application that creates and starts three threads. Each thread is
instantiated from the same class. It executes a loop with 10 literations. Each
siteration displays string "HELLO", sleeper for 300 milliseconds. The
application waits for all the threads to complete and displays the message
"Good Bye...".
11. What is wrapper class? Describe different wrapper classes and their use in
Java.
Or
Differentiate the following:
Byte stream and Character stream
String class and String Buffer class
12. Create an applet that having three scroll bars for three colors red, green and
blue with minimum 0 and maximum 255 values. The background color of
applet changes depending on the value of the scroll bar at the time.
Or
Discuss about AWT labels, buttons menus and menu bars.
Second Semester
Computer Science
Paper OBJECT ORIENTED PROGRAMMING THROUGH JAVA
(CBCS Old Syllabus)
2 20921-AA
Time 3 Hours Max. Marks 70
PART — A
Answer any FIVE questions. 6 30 Marks)
1. What is Conductor? Explain constructor overloading with example.
2. Discuss public, private, protected and default access modifier with example.
3. Explain about try, catch and throw in exception handling.
4. What is package? Explain steps to create package with example.
5. Draw and explain lifecycle of Applet.
6. Explain garbage collection and finalize method in JAVA.
7. Explain utility class ArrayList and Hash table.
8. Explain Delegation Event model.
PART — B
Answer ALL questions. 10 40 Marks)
9. Write a program which shows an example of function overriding?
What is variable? How to define variables in java? Also list rules for valid
variable names.
Or
What is inheritance? How to implement different types of inheritance in
Java?
10. What is Exception? Give some of Built-in exceptions in java. Also give
difference between throw and throws.
Or
Write an application that creates and starts three threads. Each thread is
instantiated from the same class. It executes a loop with 10 literations. Each
siteration displays string "HELLO", sleeper for 300 milliseconds. The
application waits for all the threads to complete and displays the message
"Good Bye...".
11. What is wrapper class? Describe different wrapper classes and their use in
Java.
Or
Differentiate the following:
Byte stream and Character stream
String class and String Buffer class
12. Create an applet that having three scroll bars for three colors red, green and
blue with minimum 0 and maximum 255 values. The background color of
applet changes depending on the value of the scroll bar at the time.
Or
Discuss about AWT labels, buttons menus and menu bars.
Other Question Papers
Subjects
- big data analytics
- cloud computing
- datamining
- information security
- object oriented programming through java
- software engineering
- unix programming
- web technologies