Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal
New Scheme Based On AICTE Flexible Curricula
CSE-Artificial Intelligence and Machine Learning | III-Semester
Unit 1: Introduction to OOP & OO Thinking
Introduction to Object Oriented Thinking & Object Oriented Programming: Comparison with Procedural Programming, features of Object oriented paradigm– Merits and demerits of OO methodology; Object model; Elements of OOPS, IO processing, Data Type, Type Conversion, Control Statement, Loops, Arrays.
Previous Years questions appears in RGPV exam.
Q.1) Explain the characteristics/features of Object-Oriented Programming and Procedural Programming. (June-2023)
What do you understand by object-oriented programming? What are the advantages of programming using object oriented? Explain and define various OOP concepts in brief. (Dec-2023)
How does Object-Oriented Programming (OOP) differ from procedural programming, and what are the key features of the object-oriented paradigm? (Dec-2024)
What are the main features of the object-oriented paradigm and how do they contribute to its advantages and disadvantages? (June-2025)
Explain object oriented programming languages with its features. (Nov-2022)
Q.2) Describe the various control statement with example. (Nov-2022, June-2024)
Explain different types of loops in OOP. Give examples of for, while and do-while loops. (June-2025)
Q.3) Discuss the role of $C_{out}$ and $C_{in}$ in detail. Why they are used in C++ and from which class they belong to? Explain in detail. (Nov-2022)
What are the various stream classes and stream error? Explain them in brief. What are input and output streams? Give examples. (Nov-2022)
What is meant by file stream objects? Give example. (Dec-2023)
Q.4) Explain pointer and function pointer. (Nov-2022)
Q.5) Briefly describe merits and demerits of object-oriented methodology. (Dec-2023)
Discuss the merits and demerits of using object-oriented methodology in software development, compared to other programming paradigms. (Dec-2024)
Q.6) Describe the process of Input/Output (I/O) processing in object-oriented programming, including the handling of data types, type conversion and control statements. (Dec-2024)
Q.7) Define the object model. What are the core elements of an object model in OOP? (June-2025)
Q.8) Write short notes on: Type conversion. (June-2025)
Expected Sample Questions for Dec-2025 Exam (Based on Syllabus Analysis)
Q.1) Explain the different types of Data Types available in C++. Differentiate between user-defined and built-in data types. (Predicted)
Q.2) What is Type Conversion? Explain Implicit and Explicit type conversion with examples. (Predicted)
Q.3) Explain the concept of Arrays in C++. How are arrays of objects declared and initialized? (Predicted)
Q.4) Differentiate between Structure and Class in terms of OOP. (Predicted)
Q.5) Discuss the importance of Memory Management operators 'new' and 'delete' in C++. (Predicted)
Unit 2: Encapsulation and Data Abstraction
Concept of Objects: State, Behavior & Identity of an object; Classes: identifying classes and candidates for Classes Attributes and Services, Access modifiers, Static members of a Class, Instances, Message passing, and Construction and destruction of Objects.
Previous Years questions appears in RGPV exam.
Q.1) What are Empty classes? Can instance empty class be created? Give reason. (Nov-2022)
Q.2) Write short notes on: New and delete. (Nov-2022, June-2024)
Q.3) What are the access modifiers? How many types of access modifiers are available in C++? Explain each of them and their role in implementing the data hiding. (Nov-2022)
Write short notes on: Access modifiers. (June-2023, June-2024)
Q.4) What is constructor? Is it mandatory to use constructor in a class. (June-2023, June-2024)
Create a class called cake with attributes height, weight, shape and message with a default constructor. Overload the constructor with arguments. (June-2023)
Q.5) Write a C++/JAVA program to calculate the area of rectangle, square and circle using constructor overloading. (Dec-2023)
Q.6) What are member functions? Explain with example. (June-2023, June-2024)
Q.7) How message passing is possible in JAVA? Give example. (June-2023)
Write short notes on: Message Passing. (Dec-2023)
Describe the process of message passing in object-oriented programming and its role in enabling communication between objects. (Dec-2024)
Q.8) Give example of multiple object declaration, variable declarations and constant declaration. (June-2023)
Q.9) What are the properties of encapsulation and data abstraction? (Dec-2023)
Discuss the concepts of encapsulation and data abstraction in object-oriented programming and explain how they enable modular and reusable code design. (Dec-2024)
Q.10) What is construction and destruction? Explain with suitable example. (Dec-2023)
Discuss the construction and destruction of objects in object-oriented programming, including the use of constructors and destructors to manage object lifecycle. (Dec-2024)
How are objects constructed and destroyed in OOP and what are the key concepts involved in this process? (June-2025)
Q.11) Explain the parameter passing models briefly. (Dec-2023)
Q.12) Explain the concept of objects in object-oriented programming, including their state, behavior and identity and how they are represented in code. (Dec-2024)
Explain the concept of objects with respect to their state, behaviour and identify. (June-2025)
Q.13) Discuss attributes and services in the context of object-oriented programming, including the role of access modifier and static members in defining class behavior. (Dec-2024)
Q.14) Explain the concept of instances in object-oriented programming and how they represent individual objects created from a class template? (Dec-2024)
Q.15) Write an interactive program for manipulating object of distance class. Support member functions for adding and subtracting distance members of two objects? (June-2024)
Q.16) What are static members of a class? How are they different from instance members? (June-2025)
Expected Sample Questions for Dec-2025 Exam (Based on Syllabus Analysis)
Q.1) Differentiate between Shallow Copy and Deep Copy using Copy Constructor. (Predicted)
Q.2) Explain the 'this' pointer in C++. What is its significance? (Predicted)
Q.3) Discuss Static Data Members and Static Member Functions with a suitable example. (Predicted)
Q.4) What is an Inline Function? How does it differ from a normal function? (Predicted)
Q.5) Explain the concept of Class Attributes vs Class Services (Methods). (Predicted)
Unit 3: Relationships & Inheritance
Inheritance: purpose and its types, ‘is a’ relationship; Association, Aggregation. Concept of interfaces and Abstract classes.
Previous Years questions appears in RGPV exam.
Q.1) Write a program in C++ which demonstrate the use of Inheritance. (Nov-2022)
Explain the fundamental concept behind inheritance in object-oriented programming by taking an example. Define multiple, multilevel and hybrid inheritance with diagram and syntax. (June-2023)
Q.2) Design a class called as FATHER and MOTHER as base classes and class CHILD which is derived from both FATHER and MOTHER. FATHER has qualities Q, $Q_{2}$ and $Q_{3}$ and MOTHER has qualities $Q_{1}$, $Q_{x}$ $Q_{4}$ Write a C++ program to display the qualities of CHILD due to inheritance. (Nov-2022)
Q.3) What is meant by abstract class? / Write short notes on: Abstract base classes. (June-2023, June-2024, June-2025)
Explain the concept of association an aggregation in object-oriented approach. What is an Abstract class? Why Abstract classes are used? (June-2023)
Q.4) Explain public, private and protected access specifiers and show their visibility when they are inherited as public, private and protected? (June-2024)
Q.5) 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. (June-2024)
Q.6) Write short notes on: Association. (June-2024)
Discuss association and aggregation as relationship types in object-oriented programming and provide examples of each. (Dec-2024)
Q.7) Describe the role of multiple inheritance in object-oriented programming. (Dec-2023)
Q.8) What is interface? Discuss its concept interfaces. (Dec-2023)
Describe the concept of interfaces and abstract classes in object-oriented programming, including their role in defining common behavior and enforcing contracts. (Dec-2024)
Compare interfaces and abstract classes in terms of features, use cases and flexibility. (June-2025)
Q.9) Explain the concept of the "is a" relationship in inheritance. (June-2025)
Expected Sample Questions for Dec-2025 Exam (Based on Syllabus Analysis)
Q.1) What is Composition? How does it differ from Aggregation? (Predicted)
Q.2) Explain the 'Diamond Problem' in Multipath Inheritance. How is it resolved using Virtual Base Classes? (Predicted)
Q.3) Explain the order of execution of Constructors and Destructors in Inheritance. (Predicted)
Q.4) What is the purpose of the 'super' keyword in Java or 'base' in C# (or similar concept in C++)? (Predicted)
Q.5) Discuss the concept of 'Delegation' in OOP. (Predicted)
Unit 4: Polymorphism
Introduction, Method Overriding & Overloading, static and run time Polymorphism. Virtual Function, friend function, Static function, friend class.
Previous Years questions appears in RGPV exam.
Q.1) Discuss and compare run time and compile time polymorphism. (Nov-2022, June-2024)
Write short notes on: Polymorphism. (Nov-2022, June-2024)
How polymorphism is achieved at compile time and run time? (June-2023)
Explain the meaning of polymorphism. How polymorphism is achieved at run time? Explain with an example. (Dec-2023)
Differentiate between compile-time (static) and run-time (dynamic) polymorphism with examples. (June-2025)
Q.2) What is Operator overloading? Can friend function be used to overload the assignment operator (=). (Nov-2022)
Define operator overloading? Explain how to overload unary operator and binary operator? (June-2024)
Q.3) What are the advantages and limitation of using default arguments in a function? Write a program which defines a function with three default arguments and call the function in four different ways. (Nov-2022)
Q.4) How inherited method is different from redefined method? (Nov-2022)
Q.5) Explain virtual function and write its purpose. (June-2023, June-2024)
Q.6) Differentiate between Overriding and Overloading methods. (Dec-2023)
Q.7) Write short notes on: Static polymorphism. (Dec-2023)
Q.8) Discuss virtual functions, friend functions and static functions in object-oriented programming, including their usage and implications for class design. (Dec-2024)
Q.9) Write short notes on: Virtual Friend function. (June-2025)
Q.10) How does a friend class in C++ access the private and protected members of another class and what are the implications of this access? (June-2025)
Q.11) What is a friend function in C++? Why and when is it used? What are the limitations of friend functions in terms of encapsulation and security? (June-2025)
Expected Sample Questions for Dec-2025 Exam (Based on Syllabus Analysis)
Q.1) What is a Pure Virtual Function? How does it relate to Abstract Classes? (Predicted)
Q.2) Explain the concept of Early Binding vs Late Binding. (Predicted)
Q.3) Explain Operator Overloading of Binary Operators '+' and '<<' using Friend Function. (Predicted)
Q.4) What is a Virtual Destructor? Why is it needed in inheritance? (Predicted)
Q.5) Can static members be virtual? Justify your answer. (Predicted)
Unit 5: Advanced Features & Case Studies
Strings, Exceptional handling, Introduction of Multi-threading and Data collections.
Case study like: ATM, Library management system.
Previous Years questions appears in RGPV exam.
Q.1) Write short notes on: Exception handling. (Nov-2022, June-2024)
What is meant by exceptions? How exception is handled? (June-2023)
Explain the concept of exception handling in JAVA. (Dec-2023)
Describe the concept of exception handling in object-oriented programming, including the mechanisms used to handle runtime errors and exceptions gracefully. (Dec-2024)
How do you handle exceptions in a program and what are some best practices for exception handling? (June-2025)
Q.2) Explain in detail about exception and how they handled? Define function template and class template. (Nov-2022)
Q.3) Explain ATM system using object-oriented diagram. (June-2023)
Q.4) What do you mean by Array Index Out of Bounds Exception and Null Pointer Exception? (June-2023, June-2024)
Q.5) Write short notes on: Data Collection. (Dec-2023)
Write short notes on: Data collection. (June-2025)
Q.6) Explain the concept of multithreading in object-oriented programming approach. Writes its benefits. (Dec-2023)
Write short notes on: Multi-threading. (June-2025)
Q.7) Explain library management system using object-oriented diagram. (Dec-2023)
Q.8) Explain how strings are handled in object-oriented programming, including common operations and best practices for string manipulation. (Dec-2024)
Q.9) Introduce the concepts of multi-threading and data collections in object-oriented programming and discuss their applications in building concurrent and data-intensive systems. Additionally, provide a case study, such as an ATM or library management system, to illustrate the practical application of object-oriented thinking and programming principles. (Dec-2024)
Q.10) What is the difference between throwing and catching an exception? Provide a code example. (June-2025)
Expected Sample Questions for Dec-2025 Exam (Based on Syllabus Analysis)
Q.1) What is a Thread? Explain the lifecycle of a thread. (Predicted)
Q.2) Discuss String immutability in Java vs C++. What are String Buffer and String Builder? (Predicted)
Q.3) Explain the concept of Synchronization in Multi-threading. Why is it required? (Predicted)
Q.4) What are Templates in C++? Explain Function Templates and Class Templates with examples. (Predicted)
Q.5) Discuss the Standard Template Library (STL) or Java Collections Framework. Explain Vectors/ArrayLists. (Predicted)