MR23
Sub Code: MR2321053
II B.Tech I Semester Regular Examinations, Month-Year
OBJECT ORIENTED PROGRAMMING THROUGH JAVA
(Common to CSE, IT, AI, DS)
Time: 3 hours Max. Marks: 70 M
.................................................................................................................................................................................
Note: Question Paper consists of Two parts (Part-A and Part-B)
PART-A
Answer all the questions is mandatory (10 x 2M=20M)
Q.No Questions KL CO Marks
a) What is Data Abstraction? 2 01 2M
b) What are the escape sequences in java language? 2 01 2M
c) Write the differences between class & Object? 3 02 2M
d) How to access the private members of class? 1 02 2M
e) List advantages & disadvantages of multiple Inheritance? 1 03 2M
1
f) Describe the purpose of “Super” keyword? 6 03 2M
g) Define Package and sub Package in java? 5 04 2M
h) What is the purpose of wait() method in Java? 2 04 2M
i) What is the difference between a V box layout and an H box layout? 2 05 2M
j) Describe BLOB and CLOB? 6 05 2M
PART-B
Answer all the questions.
Either ‘a’ or ‘b’ from each question (5 x 10M=50M)
Q.No Questions KL CO Marks
Unit-I
i)Explain the concepts of object _oriented Programming? 2 01 5M
a ii) Define Data type? Explain how to declare and initialize the variables in
5 01 5M
java?
2
OR
i) Demonstrate the Increment and Decrement operators with a Java
2 01 5M
b program?
ii) Explain the while and do-while loops with example? 2 01 5M
Page 1 of 2
Unit-II
i) Define object? How to assign one object to the another with an
5 02 5M
example?
a
ii) What is Constructor? Explain the concept of constructor overloading
2 02 5M
3 with suitable example?
OR
i) Is it possible to define a class within another class? Justify? 2 02 5M
b
ii) Discuss about the static, final keywords with an example. 4 02 5M
Unit-III
i) Define Array? How to declare and Initialization of an arrays with an
5 03 5M
a example?
ii) Discuss in detail about Abstract Classes in Java 4 03 5M
4
OR
i) Write a java program to implement multilevel inheritance concept. 6 03 5M
b ii) What is an interface? List the rules to create an interface in java with
1 03 5M
example?
Unit-IV
i)What is Package? How to create user defined Package in java
1 04 5M
a
ii) Write a java program to find the factorial value of the given number
using user defined package concept. 1 04 5M
5
OR
i)Explain about try, catch and finally statements with examples 2 04 5M
b
ii) Explain the java standard I/O Streams? 2 04 5M
Unit-V
i)List and explain any five string methods. 1 05 5M
a ii) What is Multi threading? What are the ways to create multiple threads
1 05 5M
in java?
6
OR
i)Explain the establishing of JDBC database Connection? 2 05 5M
b
ii) Describe the laying nodes in scene graph in java? 6 05 5M
KL: Blooms Taxonomy Knowledge Level CO: Course Outcome M:Marks
***
Page 2 of 2