BSc CSIT (TU) Science Object-Oriented Programming (BSc CSIT, CSC161) Question Paper 2079
This is the official BSc CSIT (TU) (Science stream) Object-Oriented Programming (BSc CSIT, CSC161) question paper for 2079, 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 2079 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
What is polymorphism? Differentiate between compile-time and run-time polymorphism. Explain with examples how each is achieved in C++.
Explain the concept of an abstract class and pure virtual function. Write a C++ program to demonstrate an abstract base class 'Shape' with derived classes.
What is operator overloading? Write a C++ program to overload the unary '++' operator (both prefix and postfix) for a Counter class.
Section B: Short Answer Questions
Attempt any EIGHT questions.
What is abstraction? Differentiate it from encapsulation.
Why can't constructors be virtual?
What is multiple inheritance? Give an example.
Explain the throw keyword in C++.
Differentiate between text files and binary files.
What operators cannot be overloaded in C++?
What is a generic class?
Explain the seekg() and seekp() functions.
What is a member initialization list in a constructor?