Skip to content
Previous Year Question Paper

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

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

Attempt any five questions.

All questions carry equal marks.

Q.1
a)Unit 1

Describe the various control statement with example.

b)Unit 4

Discuss and compare run time and compile time polymorphism.

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 public, private and protected access specifiers and show their visibility when they are inherited as public, private and protected?

b)Unit 4

Define operator overloading? Explain how to overload unary operator and binary operator?

Q.4
Unit 5/2/4

Write short notes on (any two):

i) Exception handling

ii) New and delete

iii) Polymorphism

Q.5
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.6
Unit 3

Write a program having student as an abstract class and create many derived classes such as engineering, science medical etc. from the student class. Create their objects and process them.

Q.7
a)Unit 2

Write an interactive program for manipulating object of distance class. Support member functions for adding and subtracting distance members of two objects?

b)Unit 4

Explain virtual function and write its purpose.

Q.8
Unit 2/3/3

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