OBJECT ORIENTED PROGRAMMING with C++ — Minor 2026 question paper
MMMUT Information Technology previous year question paper for OBJECT ORIENTED PROGRAMMING with C++ (BIT-154), semester 2, Minor 2026. All 12 questions are listed below, each with a written answer on Nexsus.
Paper details
Subject: OBJECT ORIENTED PROGRAMMING with C++ (BIT-154)
Branch: Information Technology
Semester: 2
Exam: Minor 2026
Questions: 12
Questions asked in OBJECT ORIENTED PROGRAMMING with C++ Minor 2026
Q1(a). Define Object Oriented Programming (OOP). Explain any four benefits of OOP in detail with examples. [4 marks]
Q1(b). Explain about functions and their needs. Write a C++ program to find the largest element in a one-dimensional array using a function. [4 marks]
Q1(c). Write a C++ program to create a class Rectangle with data members length and breadth and a member function to calculate and display the area. [4 marks]
Q2(a). Explain conditional statements in C++ with suitable examples of each. [3 marks]
Q2(b). Explain about structures. Write a C++ program to demonstrate the use of a structure to store and display employee details (name, department, salary). [3 marks]
Q2(c). Write a C++ program to swap two numbers using the concept of pointers and also without pointers. Also show how both vary from each other. [3 marks]
Q3(a). Explain access specifiers in C++ in detail with examples. [3 marks]
Q3(b). Describe inline functions. Write a C++ program to demonstrate the use of an inline function. [3 marks]
Q3(c). Explain class and object with example. Write a C++ program to define a class with data members and member functions to display student details (name, rollNo, mark). [3 marks]