Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Code No.

: 23MCC103
CHAITANYA BHARATHI INSTITUTE OF TECHNOLOGY (Autonomous)
MCA I Sem (Main) Examination January 2024
Object Oriented Programming using Java
Time: 3 Hours Max Marks: 60
Note: Answer ALL questions from Part-A & Part –B (Internal Choice) at one place in the
same order
Part - A
(5Q X 2M = 10 Marks)
M CO BT
1 Define Encapsulation. (2) 1 1
2 Explain the use of ‘this’ keyword. (2) 2 2
3 Draw Thread Life Cycle States. (2) 3 3
4 List out Primitive type wrappers. (2) 4 1
5 Outline Iterator interface. (2) 5 2
Part – B
(5Q X 10 = 50 Marks)
M CO BT
6 (a) List out the various Data types available in Java. (5) 1 2
(b) Distinguish Break and Continue Statements with example. (5) 1 4
(OR)
7 Explain Java Buzzwords. (10) 1 2

8 (a) Explain about Nested Classes with program. (5) 2 2


(b) How can we create Packages in Java? (5) 2 1
(OR)
9 (a) Construct a Java application on Multiple Inheritance using Interfaces. (5) 2 3
(b) Compare Method Overloading and Method Overriding. (5) 2 4

10 (a) Develop a Java application on User defined exceptions. (5) 3 3


(b) Design and interpret Thread Life Cycle. (5) 3 4
(OR)
11 (a) Summarize the concept of Checked Exceptions with example. (5) 3 2
(b) Illustrate Thread Priorities. (5) 3 2

12 (a) Distinguish between String and StringBuffer. (5) 4 3


(b) Develop a Java application to copy the content of one file into the (5) 4 3
other using Byte Stream class.
(OR)
13 (a) Write short notes on Special String Operations. (5) 4 2
(b) Develop a Java application using Reader and Writer Classes in (5) 4 3
Character Streams to write and display the contents of a file.

14 Explain about Collection Framework in detail with suitable (10) 5 2


hierarchical diagram.
(OR)
15 (a) Explain about Maps with program. (5) 5 2
(b) Distinguish between Comparable Vs Comparator. (5) 5 4
******

You might also like