Subject Code: 2008303PC {HTNO: [2]\[7[RI [ATE fe [5 KY]
CMR TECHNICAL CAMPUS
UGC AUTONOMOUS
B. Tech. III Semester Regular/Supply End Examinations, Feb-2023
OOPS Through Java
Common to CSE, IT, CSM, CSD, CSG, AIML
‘Time: 3 Hours Max. Marks: 70
Note
i. This Question paper contains Part- A and Part- B.
ji, All the Questions in Part A are to be answered compulsorily.
iii, All Questions from Part B are to be answered with internal choice among them.
PART-A
10 X 02 = 20 Marks
Marks CO BL
1. a Whatare the advantages of using Object Oriented 2 co uw
programming
b Recall method overriding 02 peh CON LI
¢ — Write the syntax for Defining a Package 02 C02 dL
4 Classify different types of streams and their use in java 02 «cod
© Memorize the difference between throw and throws in 02 «C032
Exception handling?
f — Whatare the advantages of multithreading? 02 «C032
g Whatis the difference between array and vector? 02 COS
h Mention the Primary use of Comparators? o cos 12
i What are the containers available in swing? 0 ©6cos iL
j Compare Applets with application programs 02 «COS.
PART-B
5X 10 = 50 Marks
Marks CO BL
é a Explain the features of object-oriented programming in 05 cor 12
detail. ;
b Discuss in detail about objects and explain how they are 05
created from Class? Explain the dynamic initialization of
objects using constructors.
COL * Ei
OR
3 a Whatis the method? Explain method overloading with the
relevant java program
b Write a Java program to
command line.
05 COlpae D2)
add a set of numbers passed from the 05 cor 13Subject Code: 20CS303PC | HTNO: | 7 Ri |
What is a package? Explain the process of importing and Oo CO
accessing package with example program.
How to implement interfaces? Illustrate Nested interfaces 0s = cod 3
clear examples? é
OR
5 a Analyze Reading console Input and Writing Console Output. 05.—=sCOD_—sL 4
with an example?
b Discuss about various Random access file operations? 05