Skip to content
Previous Year Question Paper

CSIT-305 - Object Oriented Programming and Methodology (OOPM)

June 2023•CSIT•SEMESTER-3
June 2023
Max Marks: 70
Duration: Three Hours
Instructions:

• Attempt any five questions.

• All questions carry equal marks.

• In case of any doubt or dispute the English version question should be treated as final.

Q.1
a)Unit 1

Compare the object oriented system with procedure oriented system.

b)Unit 1

What is the need of type conversion? Discuss different types of type conversion in C++.

Q.2
a)Unit 1

What are the features of Object oriented programming.

b)Unit 2

What is the need of constructor? How is it different from the member function?

Q.3
a)Unit 2

What is the significance of static data and member functions in C++?

b)Unit 4

Write a program to demonstrate friend function in C++.

Q.4
a)Unit 2

What is inline function? Write advantages of inline function over macros.

b)Unit 1

What are the different types of type conversions in C++ explain with examples?

Q.5
a)Unit 4

Explain the function pointer with suitable example.

b)Unit 5

Explain error handling and manipulators in C++?

Q.6
a)Unit 4

Explain Calling a Virtual Function Through a Base Class Reference.

b)Unit 5

Explain Formatted I/O.

Q.7
a)Unit 5

When do we need multiple catch blocks for a single try block? Give an example.

b)Unit 5

What is role of manipulators in C++. Write down different manipulators in C++.

Q.8
a)Unit 5

Differentiate between formatted and unformatted I/O. Discuss its different functions.

b)Unit 5

Write a program to display the contents of a text file in the reverse order.