This download link is referred from the post: OU B-Sc Last 10 Years 2010-2020 Question Papers || Osmania University
Code No. 3197
FACULTY OF SCIENCE
B.Sc. V-Semester Examination, November / December 2018
--- Content provided by FirstRanker.com ---
Subject: Computer Science
Paper - V: Programming in Java (DSC)
Max. Marks: 60
Time : 3 Hours
PART-A (5 x 3 = 15 Marks)
--- Content provided by FirstRanker.com ---
(Short Answer Type)
Note : Answer any FIVE of the following questions.
- Write about inner classes.
- Write a note on type conversion in java.
- Define thread. List the methods in Thread class.
- What are wrapper classes?
- Why layouts are needed?
- What is the purpose of AWT? List the components.
--- Content provided by FirstRanker.com ---
PART- B (3 x 15 = 45 Marks)
Note : Answer all the following questions.
--- Content provided by FirstRanker.com ---
- (a) Explain about branching mechanisms in java by giving an example.
OR
(b) Compare and contrast method overloading and method overriding in java by giving an example. - (a) What is an exception? Define an exception called “No Match Exception” that is thrown when a string is not equal to “India". Write a program that uses this exception.
OR
(b) Define thread. Explain the different ways we can create a thread by giving an example for each. - (a) Explain the sequence of applet's life cycle methods in which they are called with an example program.
OR
--- Content provided by FirstRanker.com ---
(b) What is layout manager? Explain types of layout managers with an example.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: OU B-Sc Last 10 Years 2010-2020 Question Papers || Osmania University