BSc CSIT (TU) Science Object-Oriented Programming (BSc CSIT, CSC161) Question Paper 2081
This is the official BSc CSIT (TU) (Science stream) Object-Oriented Programming (BSc CSIT, CSC161) question paper for 2081, as set in the regular annual examination. It carries 60 full marks and a time allowance of 180 minutes, across 12 questions. On Kekkei you can attempt this Object-Oriented Programming (BSc CSIT, CSC161) past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your BSc CSIT (TU) Object-Oriented Programming (BSc CSIT, CSC161) exam or solving previous years' question papers, this 2081 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
What is the difference between structure and class in C++? Explain the role of the 'this' pointer with an example program.
Explain multiple and hybrid inheritance. What is the diamond problem? How is it resolved using virtual base classes? Illustrate with a program.
What are class templates? Write a C++ program to implement a generic 'Stack' class using templates with push and pop operations.
Section B: Short Answer Questions
Attempt any EIGHT questions.
What are the benefits of object-oriented programming over procedural programming?
Explain the syntax of a class template.
What is the use of the const keyword with member functions?
Differentiate between compile-time and run-time polymorphism.
Explain the role of the access specifier in inheritance.
What is a nested class? Give an example.
Write a short note on operator overloading using friend function.
What is the difference between throw and rethrow?
Explain the use of default and copy constructor together.