0% found this document useful (0 votes)
2 views2 pages

Java External QP

This document outlines the examination format for the Object Oriented Programming with Java course for the Third Semester B.E/B.Tech. Degree Examination scheduled for Dec. 2025/Jan. 2026. It includes instructions for answering questions, a breakdown of modules, and various programming tasks and concepts that students are expected to cover, such as Java features, OOP principles, constructors, inheritance, exception handling, and multithreading. The exam consists of multiple questions from different modules, requiring students to demonstrate their understanding of Java programming and object-oriented concepts.

Uploaded by

inferious35
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Java External QP

This document outlines the examination format for the Object Oriented Programming with Java course for the Third Semester B.E/B.Tech. Degree Examination scheduled for Dec. 2025/Jan. 2026. It includes instructions for answering questions, a breakdown of modules, and various programming tasks and concepts that students are expected to cover, such as Java features, OOP principles, constructors, inheritance, exception handling, and multithreading. The exam consists of multiple questions from different modules, requiring students to demonstrate their understanding of Java programming and object-oriented concepts.

Uploaded by

inferious35
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

GBCS SGHEME BCS306A

USN

Third Semester B.E/[Link]. Degree Examinátion, Dec.2025/Jan.Z026


Object Oriented Programming with Java
Time: 3 hrs. Max. Marks: 100

Note: 1. Answer any FIVEfull questions, choostng ONE full question from each module.
2 M: Marks, L: Bloom 's leel, C: Course outcomes.

Q.1 [Link] feature of Java.


Module- 1 ML
L2CO1
C

b. Define array, write a java prugram to calculate the average among the 7 L3 COI
elements [8, 6, 2, 7].
List and explain operatos in JAVA with examples 6 L2 CO1

OR
Q.2 [Link] OOP's features in java. 7 L2 COI

b. Write a java program to sort the clements using a for loop. 7 L3 COI

With example, explain different typsof if statement i L2 COI

AModule-2
Q.3 Detine Constructor. Explain wo types of construtors with an example | L3 CO2

b
Define Recursion. Wrile a recursiveprogrami tg find factorial gfa number. L3 C02

C. Explain garbage collection with an


method.
Pamyle, explain final nd finalize ()6 |L2 CO2
NOR
Q.4 a. Define class. Explain call by value and call by reference with an cxample 7 L3 CO2
program.

|b. Using proper class and methods writea program to pcrform stack7 L3 CO2
operations.

[Link] the use of this keyword in java with an example. |6 L2Coz


Module
Q.5 [Link] a java program to implement multilevel inheritance with 3 levels of7 L3CO3
hierarchy.
[Link]. Wihsuitable program explain nestedinterface in java. L3 C03

c. | Explain dynamic method dispatch with a suitable cxample. 6 L2 CO3

lof2
BCS306A

OR
Q.6
A. Eplain inheritance. Write a java program to implcmcnt single level 7 L3CO3
inheritanxe.

[Link] the importance of the super key word in inheritance, illustrate with 74 Cos
a sutable eample.
.Define method overkoadıng anad overiding withexample. L2 CO3

Module- 4 CO4
Q.7 a. Define Package., with an cxample, Plain the steps are involved in creating 7 L2
a user-defincd package.

With sample code, explain chauned exception. L3 CO4


Define an exception, wih syntax cxplain all ive keywords used in6 L2 C04
CxCeption handling.

OR
O.8 Explain the concept of package importing injva with an example. |L2 C04
b. How do jvu sreate your own exceptiop plass, cxplain with PTOgram. L2 CO4

With an example, explain wokiñg of a nested ty blbck within an CO4


CACeption.

Module-5
Q.9 a. Define Thrcad. With diagram explain the jva thrcad mode. 7 L2COS

[Link] synchronization with an exATpke, how symicbronization is|7 L3COS


implemented in javá.
With suitable cxample, explain walues) and (vajueOf( ) method in 6 COS
cnumeration.

OR
[Link] Mukithreadingrite a programto'rcate multiplethreads in java. 7| L2 COs

b. Demonstrates the sage of compateTo() and cquals( ) method with 7 13 C05


enumeration consțants.
c. Explain autoboxing/unboxing id expressions. 6 L2 COS

Q-XO
-

-
Xo

2 of2

You might also like