0% found this document useful (0 votes)
95 views

Model QP Bcs306a

Uploaded by

moh24amme
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)
95 views

Model QP Bcs306a

Uploaded by

moh24amme
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

BCS306A

USN 1 B Y

BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT


(An Autonomous Institute affiliated to Visvesvaraya Technological University, Belagavi)
SEMESTER END EXAMINATION MODEL QUESTION PAPER

Third Semester B.E. Degree Examination


Regular / Make-up / Arrears / Supplementary

Object Oriented Programming with JAVA


Time: 3 hrs. Max. Marks: 100

Note: Answer FIVE full questions, choosing ONE full question from each module.

CO,
Q. No Module – 1 Marks
RBT
Explain the two paradigms of Object-Oriented Programming and provide
1a. 6 CO1, K2
examples of each.
Discuss the three main Object-Oriented Programming principles and their
1b. 6 CO1, K2
significance in Java.
Develop a JAVA program to add TWO matrices of suitable order N (The value
1c. 8 CO4, K3
of N should be read from command line arguments).
OR
2a Describe the different types of operators available in Java. 6 CO1, K2

2b. Differentiate between the 'if' statement and the 'switch' statement in Java. 6 CO1, K2

Develop a stack class to hold a maximum of 10 integers with suitable methods.


2c. 8 CO4, K3
Develop a JAVA main method to illustrate Stack operations.
Module – 2
What is a constructor in Java? Explain its role and how it differs from other
3a. 10 CO2, K3
methods.
Write a simple Java class named 'Car' with attributes (fields) like 'make', 'model',
3b. 10 CO2, K3
and methods like 'startEngine()' and 'stopEngine()'.
OR
4a. Explain the concept of argument passing in Java methods. 10 CO2, K3
Define method overloading and discuss its significance in Java programming.
4b. 10 CO2, K3
Provide an example showcasing method overloading.
Module – 3
Compare and contrast the use of "super" in constructor calls between a single
5a. 10 CO3, K3
inheritance scenario and a multilevel inheritance scenarios.
Develop a JAVA program to create an abstract class Shape with abstract methods
calculate Area() and calculate Perimeter(). Create subclasses Circle and Triangle
5b. 10 CO4, K3
that extend the Shape class and implement the respective methods to calculate
the area and perimeter of each shape.

Page 1 of 2
BCS306A

OR
Explain the relationship between the concepts of dynamic method dispatch and
6a. 10 CO3, K3
method overriding in Java.
Develop a JAVA program to create an interface Resizable with methods resize
Width(int width) and resize Height(int height) that allow an object to be resized.
6b. 10 CO4, K3
Create a class Rectangle that implements the Resizable interface and implements
the resize methods.
Module – 4
Discuss the strategies used by the Java compiler to resolve package and class
7a. 10 CO3,K3
references when importing packages
Evaluate the importance of designing modular and well-organized packages in
7b. 10 CO3,K3
large-scale Java applications.
OR
Analyze the structure and purpose of the try-catch-finally blocks in Java
8a. 10 CO3,K3
exception handling.
Investigate and explain the process of creating custom exception subclasses in
8b. 10 CO3,K3
Java.
Module – 5
9a. Analyze the role and significance of the main thread in Java. 10 CO3, K3
9b. Examine the process of creating threads in Java. 10 CO3, K3
OR
10a. Discuss in detail the lifecycle of a thread, including transitions between states. 10 CO3, K2
Explain how threads communicate and coordinate with each other using methods CO3, K2
10b. 10
like wait(), notify(), and notifyAll().

Course Outcomes (COs):

COs At the end of the course, the student will be able to


CO-1 Demonstrate the fundamentals of Java programming constructs.
CO-2 Interpret the object oriented features of Java programming language.
CO-3 Apply the object oriented programming constructs to solve complex problems .
CO-4 Develop the solutions using the OOP concepts for simple to complex problems.
CO-5 Design applications using Object Oriented programming for real time applications.
K1- Remembering K2 - Understanding K3 – Applying K4- Analyzing K5 - Evaluating K6 -Creating

“Satisfaction lies in the effort, not in the attainment, full effort is full victory”

BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT Page 2 of 2

You might also like