Skip to content
Previous Year Question Paper

AD/AL/CD/CY/IS-305 (GS) – Object Oriented Programming and Methodology

June 2023AIMLSEMESTER-3
June 2023
Max Marks: 70
Duration: 3 Hours
Instructions:

Attempt any five questions.

All questions carry equal marks.

Q.1
a)Unit 1

Explain the characteristics of Object-Oriented Programming and Procedural Programming in brief.

b)Unit 1

Describe in detail the features of object-oriented paradigm.

Q.2
a)Unit 3

What is meant by abstract class?

b)Unit 2

What is constructor? Is it mandatory to use constructor in a class.

Q.3
a)Unit 3

Explain the fundamental concept behind inheritance in object-oriented programming by taking an example. Define multiple, multilevel and hybrid inheritance with diagram and syntax.

b)Unit 3

Explain the concept of association and aggregation in object-oriented approach. What is Abstract class? Why Abstract classes are used?

Q.4
a)Unit 2

Create a class called cake with attributes height, weight, shape and message with a default constructor. Overload the constructor with arguments. Create methods to display details and increase the height by 2 cms and weight by 0.5 kg.

b)Unit 4

How polymorphism is achieved at compile time and run time?

Q.5
a)Unit 5

What is meant by exceptions? How exception is handled?

b)Unit 5

Explain ATM system using object-oriented diagram.

Q.6
a)Unit 5

What do you mean by Array Index Out of Bounds Exception and Null Pointer Exception?

b)Unit 2

What are member functions? Explain with example.

Q.7
a)Unit 2

How message passing is possible in JAVA? Give example.

b)Unit 2

Give example of multiple object declaration, variable declarations and constant declaration.

Q.8
Unit 3/2/3

Write short notes on (any two): a) Association b) Access modifiers c) Abstract base classes