Object Oriented Programming & Methodology (CS-305) - Important Questions
-
7 Marks High Priority Asked: 2025, 2024, 2023, 2022
Explain what Object Oriented Programming is, its features/concepts with examples, its merits and demerits/advantages, and its applications/suitability.
Appeared 5x (2025, 2024, 2023, 2022)
-
7 Marks High Priority Asked: 2025, 2023
Compare procedural programming with object-oriented programming, highlighting differences.
Appeared 3x (2025, 2023)
-
7 Marks High Priority Asked: 2025, 2023
Explain the object model with example and basic elements.
Appeared 2x (2025, 2023)
-
7 Marks Medium Priority Asked: 2024
Compare OOP with procedural programming and discuss features, merits and demerits of the object-oriented paradigm.
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2023
Write short note on Ambiguity in Multiple inheritance, Object Model, and Access specifier in C++ (any two).
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Draw and explain the object diagram for a hospital management system.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Write a program to create Emp.dat with employee number, name, salary, department, deductions and allowances, read records, calculate net salary and write it back to the file.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Explain the functions supported by file stream classes for performing I/O operations.
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2025, 2024
Explain / define encapsulation and data abstraction in OOP and how they enhance software development
Appeared 2x (2025, 2024)
-
7 Marks High Priority Asked: 2024, 2023
Explain the concept of message passing in OOP and how it facilitates communication between objects, including how it is achieved in C++.
Appeared 2x (2024, 2023)
-
7 Marks High Priority Asked: 2024, 2022
Explain the types of access modifiers (public, private, protected) and their role in class design and data hiding with examples.
Appeared 2x (2024, 2022)
-
7 Marks Medium Priority Asked: 2025
Write a program to demonstrate encapsulation using a Student class with roll number, name, marks and member functions
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain classes and objects.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Discuss access modifiers, static members and object life cycle.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2023, 2022
Explain what constructors and destructors are (construction and destruction of objects) with an example program.
Appeared 2x (2023, 2022)
-
7 Marks Medium Priority Asked: 2024
Define a Rectangle class with length and width and methods to calculate area and perimeter, with sample program.
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024
Explain classes in OOP and class identification, and create a Student class with average marks and display methods with sample program.
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2023
Write short notes on access modifiers, abstraction, interfaces, and string handling in OOP
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Explain encapsulation and data abstraction in detail with C++ program demonstration, plus scope and life of variables
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2022
Define class and object, explain their relation, differences, C++ class syntax, and object state, behavior, and identity.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2025, 2024, 2023
Explain the purpose/role of inheritance in OOP and describe the different types of inheritance with examples.
Appeared 3x (2025, 2024, 2023)
-
7 Marks High Priority Asked: 2025, 2024, 2022
Explain interfaces and abstract classes in OOP and compare their differences and uses.
Appeared 3x (2025, 2024, 2022)
-
7 Marks Medium Priority Asked: 2023
What is association? Explain different types / forms of association with examples.
Appeared 2x (2023)
-
7 Marks Medium Priority Asked: 2025
Differentiate between association and aggregation.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Discuss the role of interfaces and abstract classes in software design.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2024
Differentiate between association, aggregation and composition in OOP with real-world examples.
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024
Explain how interfaces facilitate polymorphism with code examples in C++.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2023
How can aggregation be implemented in OOP? Explain with an example.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
What is an abstract class in OOP and how is it implemented, with an example?
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2022
What are the different kinds of relationship among classes? Explain.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Explain association and aggregation in object-oriented approach, and what is an abstract class and why abstract classes are used?
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Explain ambiguity in multiple inheritance and how to resolve it, and develop a C++ program implementing multilevel/multiple inheritance with Person as base, Student and Employee as derived bases, and a further derived class with input() and output() functions.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2025, 2024, 2023, 2022
Compare and contrast compile-time (static) polymorphism with run-time (dynamic) polymorphism, including definitions, types and illustrative examples.
Appeared 4x (2025, 2024, 2023, 2022)
-
7 Marks High Priority Asked: 2025, 2022
Explain polymorphism with method/function overloading and method/function overriding with examples.
Appeared 2x (2025, 2022)
-
7 Marks Medium Priority Asked: 2024
What is polymorphism in Object-Oriented Programming and what is its significance for code reusability and flexibility?
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2023
Differentiate between virtual vs pure virtual function, generalization vs specialization, encapsulation vs inheritance, and function overloading vs function overriding.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Discuss polymorphism in detail, its ways of implementation in C++, and differences between function overloading and function overriding with syntax.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Write a C++ program using function overloading to find the maximum of three integer numbers.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Write a C++ program using method overloading to calculate area based on user input.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2022
What is operator overloading? Write a program with a Distance class (meters, centimeters, millimeters) overloading addition and subtraction operators.
Appeared 1x (2022)
-
7 Marks High Priority Asked: 2025, 2022
Explain exception handling and multithreading.
Appeared 2x (2025, 2022)
-
7 Marks High Priority Asked: 2024, 2023
Explain the architecture, functionalities and object-oriented design of a Library Management System, including the use of strings, exception handling and collections in its implementation.
Appeared 2x (2024, 2023)
-
7 Marks High Priority Asked: 2024, 2023
Explain the concept of multithreading in OOP and its advantages/importance/applications.
Appeared 2x (2024, 2023)
-
7 Marks Medium Priority Asked: 2025
Discuss data collections with a suitable case study such as ATM/Library.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2024
Discuss various C++ data collections and how they differ in performance and use cases.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2023
Explain multithreading with benefits plus discuss collections, their types and what is a collection class.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
What is an exception and how is exception handling done in C++? Explain with an example.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
What is an exception? Write a C++ program using exception handling to evaluate $R = z / (x - y)$ and throw an exception on division by zero.
Appeared 1x (2023)
-
14 Marks Low Priority Asked: 2022
Write short note on any two including virtual function, file handling, data collection.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
What is String? Explain functions of strings with suitable examples.
Appeared 1x (2022)
-
7 Marks Medium Priority Asked: 2025
Discuss control statements, loops and arrays used in OOPS languages.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2023
Discuss the methods of passing an argument in C++. Explain with suitable program.
Appeared 1x (2023)
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel