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

Suraj Notes

This document is a model question paper for the B.E. Degree Examination in Object Oriented Programming with JAVA for the third semester, effective from the 2023-24 academic year. It includes various questions across five modules covering topics such as lexical issues, object-oriented principles, constructors, inheritance, exception handling, and multithreading. Students are required to answer any five full questions, choosing at least one question from each module.
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)
25 views2 pages

Suraj Notes

This document is a model question paper for the B.E. Degree Examination in Object Oriented Programming with JAVA for the third semester, effective from the 2023-24 academic year. It includes various questions across five modules covering topics such as lexical issues, object-oriented principles, constructors, inheritance, exception handling, and multithreading. Students are required to answer any five full questions, choosing at least one question from each module.
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
You are on page 1/ 2

Java solution

BCS306A
Model Question Paper-I/II with effect from 2023-24 (CBCS Scheme)
USN

Third Semester B.E. Degree Examination


Object Oriented Programming with JAVA
TIME: 03 Hours Max. Marks: 100

Note: 01, Answer any FIVE full questions, choosing at kkast ONE question from cach MODULE.
02. Use a JAVA code snippet to illustrate a specific code design or a purpose.

"Bloom's
Module-1 Taxonony Marks
Level
Q.01 Explain different lexical issues in JAVA 2
bDefine Array. Write a Java program to implement the addition of two matrixes. L3
e Expain the following operations with examples. (ik< ()>> (imp>>

Q.02aExplain object-oriented principles.


bWrite a Java program to
lo sort be elements using a for loop.
|Explain different types of if statements in JAVA
Module-2
|Q. 03 What are cunstructurs? Explain two types of cunstructors with an example program

Define rcursion, Write a recursive program to find nth Fibonacei number. L3 7


Explain the various access specifiers in Java.
OR
Q.04 Explain call by value and call by reference with an cxanple program L3 7

|Write a programto perform Stack operatios using proper class and Methods L3
Explain the use af this in JAVA with an example. 12
Module-3
0. 05 Write a Java program to implement multilevel inheritance with3 levels a L3
hierarchy,
|Explain bow an interface is used to achieve ultiple Inberitancs in Java. L3
e Explain the method overriding with a suitable example.
OR
0. 06 What is single-level inberitance? Write a Java progr an to unplement single-level L3
inheritance.
What is the importance of the super keywrrd in inheritance? Ilustrate with a L3 7
suitable example
eWhat is abstract class and abstract method? Explain with an example L2
Moduk
|o.07 Definc package. Explain the sseps involved in creating a user-defined package
wih an

Wrie a prugram that contains one thod that will hrow an


llegalAccessException and use propcr cxccption handles so that the cxception L3 7
should be printed
Define a exception. What are the key ters used in exception handling? Expiain. 6
OK
|Q. O8 |Explain the concept of inporting packages in Java and provide an example 12 7
demunstrating the usage of thec import statement.

Java solution
bHow do you create your own exception class? Explain with a program. 3
e Demonstratethe working of a nested try hlock with an example. 6

Page O1 of 02

BCS306A
Module-S
Q.09 What do you mean by athread? Explain the different ways of ereating threads. L2
bWhat is the noed of synchronization? Explain with an example how synchronization
implemented in JAVA L3 7

Discuss values() and value Of) methods in Enumerations with suitable examples, L2
OR
Q. 10 What is multithreading? Write a program to create mltiple threads in JAVA, L2
bExplain with an example how inter-hread communication is implemented in L3 7
JAVA.
cExplain auto-baxing unbaxing in expressions.
GKHO KHO
XWORLD CUP
INDIA 2025 KKE!

ODISHA
oDISHA 1SHA

art

oois oDISHA

9DISHA
ODISHA
0oSHA

ODISHA
ODISHA
oDISHA
RAMPOk
oDISHA

FIRST-EVER KHO KHO VwORLD CUP

HPMPIONS

You might also like