Object Oriented programming and Computer Graphics (OOPCG) SPPU Insem Question Paper Nov 2025 (paper 2)
All 4 questions from this SPPU insem paper, as printed. Read them here or open the PDF.
- Subject code
- 210243
- Pattern
- 2019 pattern
- Exam
- Insem
- Session
- Nov 2025
- Max. marks
- 30
- Time
- 1 Hour
- Semester
- III
- Paper code
- [6578]-21
Printed for: S.E. (Computer Engineering/Computer Science & Design/
Instructions to the candidates
- Attempt Q.1 or Q.2, Q.3 or Q.4.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right indicate full marks.
- Assume suitable data if necessary.
Questions
Q1
- a)[3]
What is friend function? Explain with suitable example.
- b)[6]
What are the different ways to define member functions of class? Give example of each.
- c)[6]
Write C ++ code that defines a class and declares an array of objects to that class.
OR- a)
Q2
- a)[3]
List the features of object oriented programming.
- b)[5]
Explain significance of static keyword in C ++ . Give example.
- c)[7]
Write a class "student" with attributes like name, roll number & marks. Include member functions to set & display these attributes.
- a)
Q3
- a)[4]
Explain the void and null pointer with example.
- b)[6]
Define function overriding in C ++ and write a program to demonstrate the same.
- c)[6]
Write short notes on type of inheritance with respect to i) Single inheritance ii) Multiple inheritance iii) Hierarchical inheritance. 2
OR- a)
Q4
- a)[4]
What is a virtual base class? Explain with an example.
- b)[5]
Explain public, private and protected inheritance. Give example of protected inheritance with explanation.
- c)[6]
What are wested classes, how to access the members of wested classes. Explain using example? ♦♦♦
- a)