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

B.Tech. III Semester
Examination, June 2024
Grading System (GS)
Max Marks: 70 | Time: 3 Hours

Note:
i) Answer any five questions.
ii) All questions carry equal marks.

Previous Year Questions (June 2024)

Q.1

a) Describe the various control statement with example. (Unit 1)


b) Discuss and compare run time and compile time polymorphism. (Unit 4)


Q.2

a) What is meant by abstract class? (Unit 3)


b) What is constructor? Is it mandatory to use constructor in a class. (Unit 2)


Q.3

a) Explain public, private and protected access specifiers and show their visibility when they are inherited as public, private and protected? (Unit 3)


b) Define operator overloading? Explain how to overload unary operator and binary operator? (Unit 4)


Q.4

Write short notes on (any two):

i) Exception handling (Unit 5)

ii) New and delete (Unit 2)

iii) Polymorphism (Unit 4)

Q.5

a) What do you mean by Array Index Out of Bounds Exception and Null Pointer Exception? (Unit 5)


b) What are member functions? Explain with example. (Unit 2)


Q.6

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. (Unit 3)

Q.7

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


b) Explain virtual function and write its purpose. (Unit 4)


Q.8

Write short notes on (any two):

a) Access modifiers (Unit 2)

b) Abstract base classes (Unit 3)

c) Association (Unit 3)